- Posts: 2631
Volantex V761-1 Firestar Mini protocol
- goebish
- Offline
- I Void Warranties
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.
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Moeder wrote: Checksum = ((B1+B2+B3+B4+B5+B6+B7) & 0xFF) ^ 0xFF
Thanks !!!
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Tools used: MacOS calculator app with programming layout and brain
Please Log in or Create an account to join the conversation.
- Kill_Switch
- Topic Author
- Offline
- Posts: 30
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.
- Moeder
- Offline
- Posts: 796
@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.
- Kill_Switch
- Topic Author
- Offline
- Posts: 30
Moeder wrote: @Kill_Switch: Time to get a T8SG plus
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
I find annoying that I can't edit my previous posts anymore, I often use the forum as a notepad and like to strike
eg: above, I meant "sent during bind", not received.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- FDR
- 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.
- Moeder
- Offline
- Posts: 796
edit: we are really off topic now...goebish - have you finished the protocol ?
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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
Are you running the script with python 2 ? It doesn't work with python 3 (that's probably your problem if print needs parenthesizes).
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
Please Log in or Create an account to join the conversation.
- Kill_Switch
- Topic Author
- Offline
- Posts: 30
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.
- Kill_Switch
- Topic Author
- Offline
- Posts: 30
Might a capture without the plane connected confirm this?
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.
- Kill_Switch
- Topic Author
- Offline
- Posts: 30
attached is capture with arm and left stick sweep ( both elev and rud)plane not switched on
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Volantex V761-1 Firestar Mini protocol