LowPowerLab Forum

Hardware support => RF - Range - Antennas - RFM69 library => Topic started by: nfarnesi4 on November 16, 2016, 04:48:47 PM

Title: CTL Bits in Packet Header: RFM69 Library
Post by: nfarnesi4 on November 16, 2016, 04:48:47 PM
I am new here so please forgive me if this question has been resolved already. I tried my best to find information about the CTL byte in the header of the packets. According to this picture after the initial two bits the rest are reserved. The code only utilizes the first two bit and the ATC subclass also uses an additional bit. Am I missing somewhere in the code where the other bits are used? I think it could be very beneficial for the network topology that I am attempting to implement to have access to the remaining 6 bits in the header.

(http://lowpowerlab.com/wp-content/uploads/2013/06/RFM69_library_packet_structure.png)
Title: Re: CTL Bits in Packet Header: RFM69 Library
Post by: Felix on November 17, 2016, 07:26:45 AM
You are free to use those if you'd like. If you don't use ATC then you have 6 bits.
What topology are you trying to implement?
Title: Re: CTL Bits in Packet Header: RFM69 Library
Post by: nfarnesi4 on November 17, 2016, 09:20:53 AM
I think topology is not an apt word. It's more of a custom protocol for a synchronous sensor network instead of a round-robin. I'm planning to use it for sending things like "ERROR", "STATUS REQUEST"  and "EVENT" without having to send them as char arrays. However, I imagine access to these bits would be useful for creating a mesh or similar topology.