Author Topic: CTL Bits in Packet Header: RFM69 Library  (Read 1288 times)

nfarnesi4

  • NewMember
  • *
  • Posts: 2
  • Country: us
CTL Bits in Packet Header: RFM69 Library
« 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.

« Last Edit: November 16, 2016, 04:50:58 PM by nfarnesi4 »

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: CTL Bits in Packet Header: RFM69 Library
« Reply #1 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?

nfarnesi4

  • NewMember
  • *
  • Posts: 2
  • Country: us
Re: CTL Bits in Packet Header: RFM69 Library
« Reply #2 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.