WLToys V912/V915/? protocols

More
21 Mar 2015 18:17 - 21 Mar 2015 18:23 #30002 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Ok, so that's not this simple... I think we need some RX captures (ah, you have the new version, it would have been easier with the older, I hope both are using the same protocol :silly:), along with the fixed IDs used on the TX side.

Should be easy to figure out with that ... But don't attempt to solder wires here if you don't have the equipment or experience. I wouldn't want you to fry your RX.
Last edit: 21 Mar 2015 18:23 by goebish.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 18:29 - 21 Mar 2015 18:42 #30004 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
I just understood that you already did it :) but those captures are kinda useless (or just more hard to exploit :p) without knowing which TX ID you were using :(


edit: I'm stupid... tx id is in the capture (0x44871654).
Will have a look and crack that...
Last edit: 21 Mar 2015 18:42 by goebish.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 19:22 - 21 Mar 2015 19:35 #30006 by PhracturedBlue
Replied by PhracturedBlue on topic WLToys V912/V915/? protocols
I checked your latest data, and it shows that data came from row0 but the last 2 values are swapped.
To figure out the proper table, you need to capture the Rx after binding for 16 txids. It doesn't matter what you do with the tx other than achieve binding with the rx and then start the capture.
These are the TxIDs to use. Theoretically we only need every other one (only eight of the 16) but as the table seems hosed up, it would be safest to grab captures for all 16.

256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271

EDIT: I read the table wrong, number should be sequential, not multiples of 16. the above table is now correct
Last edit: 21 Mar 2015 19:35 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 19:41 - 21 Mar 2015 19:42 #30007 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols

PhracturedBlue wrote: it shows that data came from row0

there might be another trick then, because 0x44871654 % 16 = 4, not 0.
Last edit: 21 Mar 2015 19:42 by goebish.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 20:05 - 21 Mar 2015 20:09 #30010 by PhracturedBlue
Replied by PhracturedBlue on topic WLToys V912/V915/? protocols
which data were you looking at? I used this:
V912 RX Bind move collective.logicdata

The data I see has an id of 0x46746841 % 16 = 1 and offset = 4
However, I was only at the binding data (which uses row 0)
For the data section though, I can see it using:
69, 19, 5f, 0f, 55, 05, 9b, 4b, 91, 41, 87, 37, 7d, 2d, 73, 23

There is something weird with the A7105 where the rx listens one channel down, so assume the offset is instead 5:
adjusting for 5 gives:
6e, 1e, 64, 14, 5a, 0a, a0, 50, 96, 46, 8c, 3c, 82, 32, 78, 28

and resetting the starting point:
a0, 50, 96, 46, 8c, 3c, 82, 32, 78, 28, 6e, 1e, 64, 14, 5a, 0a

which is what we expect (note the '1e', and it is consisteltly misisng data on 0x19 (which is 0x1e) which is expected since you changed it to 0x2e.

Anyhow, my above statement stands. please run captures at the 16 txids requested. also, I recommend using the firmware without goebish's hack because it is easy to then see which channels are missing data. It may well be that the 'bug' noticed previously is only in the tx, and there is something else going on
Last edit: 21 Mar 2015 20:09 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 20:12 - 21 Mar 2015 20:12 #30011 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Hmmm I've been staring at too much hex numbers, you're right :)
Last edit: 21 Mar 2015 20:12 by goebish.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 21:27 #30012 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
I only have the one V912 TX but I have two receivers if you need more RX captures. No solder needed thanks to these little grippers for my Salea.



Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 21:41 - 21 Mar 2015 21:43 #30013 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Make 16 rx captures with the fixed tx ids PB stated (with your devo7e as tx), with the firmware attached which has the necessary bits for v912, but "standard" rf channels table:
Attachments:
Last edit: 21 Mar 2015 21:43 by goebish.

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 22:58 - 21 Mar 2015 22:59 #30016 by Deal57
Last edit: 21 Mar 2015 22:59 by Deal57. Reason: Bind details

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 23:32 #30020 by PhracturedBlue
Replied by PhracturedBlue on topic WLToys V912/V915/? protocols
Thanks, The data looks good
Here is the result:
file: row: sequence
256: 00:  0a 5a 14 64 1e 6e 28 78 32 82 3c 8c 46 96 50 a0
257: 01:  a0 50 96 46 8c 3c 82 32 78 28 6e 1e 64 14 5a 0a
258: 02:  46 96 1e 6e 3c 8c 28 78 32 82 0a 5a 50 a0 14 64
259: 03:  6e 1e 96 46 64 14 a0 50 5a 0a 82 32 78 28 8c 3c
260: 04:  14 64 1e 6e 3c 8c 32 82 46 96 28 78 0a 5a 50 a0
261: 05:  6e 1e 64 14 a0 50 5a 0a 78 28 96 46 82 32 8c 3c
262: 06:  1e 6e 3c 8c 32 82 46 96 14 64 50 a0 28 78 0a 5a
263: 07:  8c 3c 6e 1e 5a 0a 78 28 a0 50 64 14 96 46 82 32
264: 08:  50 a0 46 96 3c 8c 28 78 0a 5a 32 82 1e 6e 14 64
265: 09:  96 46 a0 50 64 14 6e 1e 82 32 5a 0a 78 28 8c 3c
266: 0a:  64 46 96 3c 8c 50 a0 28 78 0a 5a 1e 6e 32 82 14
267: 0b:  8c 3c 96 46 64 14 82 32 6e 1e 5a 0a 78 28 a0 50
268: 0c:  a0 28 78 1e 6e 32 82 46 96 0a 5a 3c 8c 14 64 50
269: 0d:  a0 50 64 14 8c 3c 5a 0a 96 46 82 32 6e 1e 78 28
270: 0e:  32 82 14 64 46 96 0a 5a 50 a0 3c 8c 28 78 1e 6e
271: 0f:  5a 0a 96 46 64 14 82 32 6e 1e 78 28 8c 3c a0 50

Please Log in or Create an account to join the conversation.

More
21 Mar 2015 23:45 #30022 by PhracturedBlue
Replied by PhracturedBlue on topic WLToys V912/V915/? protocols
The table matches the offiicial table so whatever is wrong doesn't seem to be the jump sequence.
I don't see any cases where more than one frame was missed in reception so far, so it looks like the 7e has a good connection and you shouldn't see any loss of signal. So I am not sure what is going on. I'll let goebish chime in if he sees anything odd here.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 01:38 - 22 Mar 2015 13:38 #30027 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
As you said, maybe this 1e->2e is just a TX bug, and that's not what makes the RX have an inconsistent link.

Deal57, just to try, here's a firmware with official table but with your stock tx id hardcoded.
www.dropbox.com/s/akluzw7i11rha51/deviat...0.1-fixedid.zip?dl=0
( gist.github.com/goebish/6bff17530af44dc1d698 )
Last edit: 22 Mar 2015 13:38 by goebish.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 01:55 #30028 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
SeByDocKy, maybe a capture from your V913 TX could help, looks like they're the same.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 02:06 - 22 Mar 2015 02:13 #30030 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
At least we know packet[17] & [18] ( what looked like a weird sequence of 10 words ) are not important because the RX reads only 17 bytes from the 21 bytes sent.
Last edit: 22 Mar 2015 02:13 by goebish.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 13:25 #30038 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols

goebish wrote: As you said, maybe this 1e->2e is just a TX bug, and that's not what makes the RX have an inconsistent link.

Deal57, just to try, here's a firmware with official table but with your stock tx id hardcoded.
www.dropbox.com/s/akluzw7i11rha51/deviat...0.1-fixedid.zip?dl=0


Binds and functions great. No hesitation or stuttering. Do you need a capture of this?

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 13:28 - 22 Mar 2015 13:32 #30039 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Soooo.... it's like if this RX works well only with particular tx ids ?

Sounds weird, I think we need captures from other TXs to better understand now...

Note that this firmware should be safe, you can use it, but it's using your stock TX id, not a good idea to push that to the repo ;)
Last edit: 22 Mar 2015 13:32 by goebish.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 13:34 #30040 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Out of curiosity, make a rx capture with this working firmware ...

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 13:38 - 22 Mar 2015 13:39 #30041 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
I don't think I mentioned it so I noticed that when I tested the 16 FixedIDs, the hesitation wasn't noticeable. I just went back and reloaded the same DFU that I used to check those TXIDs, and the collective moves perfectly. No hesitation or stutters.

So we actually have my TXID and 16 fixed IDs. :huh:

I'll get a capture of the latest one.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Last edit: 22 Mar 2015 13:39 by Deal57.

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 13:43 #30042 by goebish
Replied by goebish on topic WLToys V912/V915/? protocols
Of course we should have asked that first :p

Are you just updating the dfu ? because only the .mod changes with my hacks...

So, you're saying that firmware from post #30013 is working well with fixed IDs ? Can you try it with "automatic" id ?

Please Log in or Create an account to join the conversation.

More
22 Mar 2015 14:11 #30045 by Deal57
Replied by Deal57 on topic WLToys V912/V915/? protocols
The firmware from post #30013 worked fine with fixed IDs. I did not try it with an empty one. I'll do that now. If it gives us the stutters I will capture the details.

Here are two captures from the latest DFU "deviation-devo7e-v4.0.1-fixedid". The first is just the bind, and the second is bind then moving the collective. This version seems to work great, no hesitation or stutters. I checked it both with and without a fixedID and it works great.

Each update I've replaced the DFU and replaced the protocol folder contents with the accompanying .MOD files.

dl.dropboxusercontent.com/u/31578062/V91...Collective.logicdata
dl.dropboxusercontent.com/u/31578062/V91...ind%20TXID.logicdata

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum