- Posts: 1
Guide for new protocol development- Is there any?
- techboycr
-
Topic Author
- Offline
Less
More
04 Apr 2018 17:51 #68505
by techboycr
Guide for new protocol development- Is there any? was created by techboycr
Hi I am looking forward to develop support for Cabell V3 protocol, in order to use thes Nrf24 base DIY receiver:
github.com/soligen2010/RC_RX_CABELL_V3_FHSS
Deviation has s-FHSS support, but before digging into this and spend time figuring protocol dev by myself maybe someone has done or has a guide for newbies like me.
Thanks!
github.com/soligen2010/RC_RX_CABELL_V3_FHSS
Deviation has s-FHSS support, but before digging into this and spend time figuring protocol dev by myself maybe someone has done or has a guide for newbies like me.
Thanks!
- hexfet
-
- Offline
Less
More
- Posts: 1971
05 Apr 2018 01:34 #68511
by hexfet
Replied by hexfet on topic Guide for new protocol development- Is there any?
That protocol is available in the
DIY-Multiprotocol project
. That file should be the starting point because the implementation is similar to deviation protocols, though the DIY project handles configuration and telemetry differently.
The best guide is to look at an existing protocol to get familiar with the implementation (pick one with a smaller file size). The main concerns are chip initialization, building packets, and the protocol state machine. The state machine is implemented in the callback function. The interface to the rest of the code is in the <protocol>_cmds function usually located at the bottom of the protocol source file. This is a recent pull request that added a protocol and shows which files are affected.
Ask questions as needed
The best guide is to look at an existing protocol to get familiar with the implementation (pick one with a smaller file size). The main concerns are chip initialization, building packets, and the protocol state machine. The state machine is implemented in the callback function. The interface to the rest of the code is in the <protocol>_cmds function usually located at the bottom of the protocol source file. This is a recent pull request that added a protocol and shows which files are affected.
Ask questions as needed
Time to create page: 0.025 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- Guide for new protocol development- Is there any?