- Posts: 10
Global Drone, Skull Drone or GW008
- flarkopter
- Offline
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
Appreciate the effort.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- flarkopter
- Offline
- Posts: 10
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
Unfortunately the thing that makes this quad great (power!) actually work against it, since tiny quads are generally aimed at beginners/indoor flyers. People usually only add power to lift fpv gear. I now get why the CX-10 is so popular, even though I personally think it's dull.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
I'm working on computing the crc now, then I think I should be able to add the protocol to deviation
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Now to write a XN297_WriteEnhancedPayload function then implement the protocol ...
I'm still crossing fingers, this protocol is using auto acknowledge, which can't be emulated because that's not possible to switch from tx to rx mode fast enough, but I think we can live without it and "fly blind" as the quad only returns empty ACK packets. I only hope the rx recovers fast enough when it misses a packet.
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
Anyway, you know what you're doing.
Looking forward to a build. Smug little thing sits there atm mocking me . I'm properly amazed at how you've got to this point catching 1's and 0's out of the freakin' air!
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
hackaday.com/2015/02/23/nordic-nrf24l01-...ake/#comment-2474764
fortunately very few protocols make use of this mode, and when they do the ACK packets can be ignored without much issues most of the time ...
Here the problem is different, we're emulating a xn297 with a nRF24L01 (or Si24R1, we don't care, as everything is emulated in software).
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
goebish wrote: The problem with auto ack in other protocols is that some modules are not using genuine nRF24L01+ but Si24R1 instead (labeled as nRF24L01 ...)
Yeah, IIRC the nRF24L01 in the 3 in 1 module is a problem. I think that's where I read about the auto ACK stuff. Plus the PA (or LNA) issue. I got my 4 in 1 last week, which I waited to be available because of that.
So this has nothing to do with inferior hardware.... just a new software/RF puzzle you haven't seen before?
Please Log in or Create an account to join the conversation.
- planger
- Offline
This looks really cool and I would like to do the same on another model. Could you list all the hardware and software you are using?
Thanks, Pascal
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Anyway, here's what I used, but that's not "universal":
- hardware: HackRF One
- sniffing + gfsk demodulation: gnuradio, with this .grc: www.dropbox.com/s/sk28appcfpwtkap/xn297_gfsk_demod.grc?dl=1
- decoding: www.dropbox.com/s/36og270vm42zu9u/gw008_decod.cpp?dl=0 (C/Qt, though it should be easy to get rid of Qt, I'm only using QFile).
- crc cracking: reveng
- music: Sex Pistols + Green Day + Ska-P, perhaps the most important part of the setup, no music, no code
Note that as it is, it does only decode xn297 scrambled packet with CCCCCCCCCC address, enhanced packet mode and 15 byte long payload, that's just some dirty code, but it should be easy to modify for other purposes.
My SDR toys
Please Log in or Create an account to join the conversation.
- planger
- Offline
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Caerus wrote: So this has nothing to do with inferior hardware.... just a new software/RF puzzle you haven't seen before?
Yes, this is the first XN297 protocol that's using enhanced packet mode, I've added code to generate those "enhanced" packets yesterday, still not tested tho.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Test builds: www.dropbox.com/sh/kzbq09i0n0n4p5y/AADNB...7BieEsGlf_jy-Xa?dl=0
Diff: github.com/DeviationTX/deviation/compare...rotocol_gw008_xns104
New protocol: GW008
Only 1 Tx ID, I doubt I can do anything better with only one stock Tx, but I'll have a try later ...
Still requires a bit of cleanup and I haven't implemented flips yet, please report if it works on your side
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
I'm REALLY looking forward to flying this with a Devo. I just used a H20 30C cos the stock battery was flat. Where did they get the motors for this thing!? Modding a 45C next.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
edit: looks like it's a 1 byte ID ( 0x18 here ?), I'll try to find how to grab it, worst case it will be a protocol option and you'll have to manually find your ID (out of 256 possibilities )
Please Log in or Create an account to join the conversation.
- Caerus
- Offline
- Posts: 59
Please Log in or Create an account to join the conversation.
- planger
- Offline
The negotiation could be:
Bind
TX sends its ID = 0xF6
RX replies its ID = 0x18 to the TX 0xF6
Normal
TX sends the RX ID and TX ID along with other data
Even if you only have 1 byte address for the TX and 1 byte address for the RX you still can have a good number of quads in the air.
Pascal
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Global Drone, Skull Drone or GW008