0-10 min
- If we don't have bandwidth, currently the packet just doesn't get sent
- If the CC1200 is full, it doesn't do anything
- What we should: handle different types of data/packets differently (disregard some, save others in some sort of data structure)
- If important, do FIFO queue, or we could use a stack
- Packets:
- Kalman Filter State
- GPS (GPS only is not used anywhere)
- Barometer
- GPS-Barometer Combined Packet
- Telemetry Status
- Ping Packet (never used)
- Event Packet
- things like state transitions
- important so we want to use a queue structure
- Acknowledgement Packet
- Command Packet (for receiving)
- Config (needs to added)
- have a buffer of size 1, since you don't care about old configs
- Queue for buffering packets (only when register on the radio is full)
- probably have a fixed size queue
- only want one for all priority items, or else it's a waste of memory space
- if the radio doesn't send a ping/return signal back, then we want to stop sending and start queuing
10-20 min
20-30 min