Volantex V761-1 Firestar Mini protocol

More
04 May 2018 18:14 - 09 May 2018 14:02 #69035 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
first quick analysis:
XN297L, 1 Mbps, scrambled, no auto ack, no enhanced packet mode, tx only

bind (~3 seconds)
----
packet period: 15730 us
address: 34 43 10 10
freq: 0x28 
every 20 packets, frequency is set to 0x14 and address to the one in the first packets for 20 packets

packet:
00 01 02 03 04 05 06 07
6f 2c b1 93 1e 4b b7 b7

00: data address [0]
01: data address [1]
02: data address [2]
03: data address [3]
04: data freq [1]
05: data freq [2]
06: checksum ?, or 0xf0 when freq==0x14
07: checksum ? 

data
----
packet period: 7060 us
address: sent during bind
hops through 3 frequencies:
freq[0] = 0x14 // always same as one of bind freq ?
freq[1]&[2]: sent during bind

packet:
00 01 02 03 04 05 06 07
00 3E 3F 3F 20 C8 80 DB

00: throttle 0x00-0xfe
01: rudder 0x00-0x3f-0x79 (0x00-0x3f-0x7f ?)
02: elevator 0x00-0x3f-0x7f
03: 0x3f, fixed, aileron for 4ch craft ?
04: 0x20 or 0x1a *
05: 0x00 or 0x40 or 0x80 or 0xc0 *
    | 0x08 : beginner mode
    | 0x0a : mid mode
    | 0x0c : expert mode
06: 0x80, fixed
07: checksum ?

* add 0x40 to [5] every 3 packets, if [5]==0x4X then [4]=0x1A else [4]=0x20

unknowns:
- where does 0x14 frequency come from ? Is it a constant or calculated from txid or other channels ?
- what is 0xf0 in packet[6] during bind ?


The aim of the game is to find how to calculate the checksum, the rest is piece of cake.
Last edit: 09 May 2018 14:02 by goebish.

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

More
04 May 2018 18:15 #69036 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol

Moeder wrote: Checksum = ((B1+B2+B3+B4+B5+B6+B7) & 0xFF) ^ 0xFF


Thanks !!!

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

More
04 May 2018 18:19 #69037 by Moeder
Replied by Moeder on topic Volantex V761-1 Firestar Mini protocol
You're welcome ;)

Tools used: MacOS calculator app with programming layout and brain :P

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

More
04 May 2018 18:20 #69038 by Kill_Switch
Replied by Kill_Switch on topic Volantex V761-1 Firestar Mini protocol
!@#$#%#@%
Ok so I just got some crap news, my jumper has been stolen together with my 2 of my mini quads out my car......
FFS

this might put testing on hold.

I do have a taranis but that would need a port to the multiprotocol to test
!@$% I dont actually know what to say
Sorry man

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

More
04 May 2018 18:23 #69039 by Moeder
Replied by Moeder on topic Volantex V761-1 Firestar Mini protocol
@Kill_Switch: Time to get a T8SG plus :P

@goebish: In bind packet 6 and 7 both have checksum of packets 0-5 calculated as above.

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

More
04 May 2018 18:25 #69040 by Kill_Switch
Replied by Kill_Switch on topic Volantex V761-1 Firestar Mini protocol

Moeder wrote: @Kill_Switch: Time to get a T8SG plus :P


Its a great reason, the issue is it takes like 30-40 days to get to me in South Africa

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

More
04 May 2018 18:25 #69041 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
Oh s...! Sorry for your loss :(

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

More
04 May 2018 18:28 - 04 May 2018 18:32 #69042 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
Moeder, are you the one who sets forums settings ?
I find annoying that I can't edit my previous posts anymore, I often use the forum as a notepad and like to strike fix wrong assumptions or typos ;)

eg: above, I meant "sent during bind", not received.
Last edit: 04 May 2018 18:32 by goebish.

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

More
04 May 2018 18:44 #69043 by Moeder
Replied by Moeder on topic Volantex V761-1 Firestar Mini protocol
Nope, I have no access to this site or the forum. I believe only FDR and PB do so :(
I think this changed policy was part of a recent Kunena update - Vlad_vy already complained about that.

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

More
04 May 2018 18:46 #69044 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
Ok sorry, I never remember who does what ;)

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

More
04 May 2018 18:53 #69046 by FDR
Replied by FDR on topic Volantex V761-1 Firestar Mini protocol
I can make you a moderator, like I did with Vlad, so you can edit your old posts (and anyone else's too ;) )...

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

More
04 May 2018 18:54 - 04 May 2018 22:54 #69047 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
If that's the only solution, yes I'd like too, hope my account doesn't get pirated :P
Last edit: 04 May 2018 22:54 by goebish.

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

More
04 May 2018 19:05 - 04 May 2018 19:07 #69049 by Moeder
Replied by Moeder on topic Volantex V761-1 Firestar Mini protocol
Read up on Kunena...there actually should be a user setting on this, or it will be introduced with version 5.1.0 due shortly - maybe we can get old behavior back (it's not that I don't trust you, but I also preferred editing ;)

edit: we are really off topic now...goebish - have you finished the protocol ? :lol:
Last edit: 04 May 2018 19:07 by Moeder.

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

More
04 May 2018 19:10 - 05 May 2018 09:28 #69050 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
Almost, I've to check the "debug registers" to check if whitening is disabled and stuffs like that, and also understand bytes 04 and high nibble of 05, shouldn't be hard, seems to always be the same sequence repeating . (add 0x40 to [5] every 3 packets, if [5]==0x4X then [4]=0x1A else [4]=0x20)
Last edit: 05 May 2018 09:28 by goebish.

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

More
04 May 2018 23:12 - 05 May 2018 09:04 #69051 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol

Kill_Switch wrote: ok I missed the MISO channel but still not working same error( i will use you text files for now to practise the decode steps)

txt file that is generated from the csv/text export

File Attachment:

File Name: gyro.txt
File Size:540 KB


I'm not sure what's wrong, I can run your .txt through the decoder without any issue.
Are you running the script with python 2 ? It doesn't work with python 3 (that's probably your problem if print needs parenthesizes).
Last edit: 05 May 2018 09:04 by goebish.

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

More
05 May 2018 10:26 - 05 May 2018 10:39 #69060 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
@Kill_Switch, I've one last thing to confirm, can the transmitter pass the bind stage even if the plane is not powered on ?
I'm asking because I'm still not sure if the protocol is bi-directional or not, seems the transmitter never receives anything although a RX FIFO is setup, transceiver goes to receive mode and checks FIFO status regularly. Maybe that's just they intended to do telemetry but haven't enabled it in the RX.
Last edit: 05 May 2018 10:39 by goebish.

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

More
05 May 2018 12:37 #69063 by Kill_Switch
Replied by Kill_Switch on topic Volantex V761-1 Firestar Mini protocol

goebish wrote: I'm not sure what's wrong, I can run your .txt through the decoder without any issue.
Are you running the script with python 2 ? It doesn't work with python 3 (that's probably your problem if print needs parenthesizes).


yip running python 3.6.will attempt with 2 at a later stage

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

More
05 May 2018 12:42 #69064 by Kill_Switch
Replied by Kill_Switch on topic Volantex V761-1 Firestar Mini protocol
I am not sure, I think so , I can execute the arm without plane connected.

Might a capture without the plane connected confirm this?

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

More
05 May 2018 12:47 #69065 by goebish
Replied by goebish on topic Volantex V761-1 Firestar Mini protocol
Yes a capture would confirm, but if there's already an audio (buzzer) or led feedback at the end of the bind sequence even if the plane is not powered that probably confirms there's no handshake.

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

More
05 May 2018 15:37 #69067 by Kill_Switch
Replied by Kill_Switch on topic Volantex V761-1 Firestar Mini protocol
There is audio after arm, so I assume so yes
attached is capture with arm and left stick sweep ( both elev and rud)plane not switched on
Attachments:

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

Time to create page: 0.064 seconds
Powered by Kunena Forum