Wasp has a hardware abstraction layer which isolates the software from the hardware implementing the defined interfaces. For a minimal HAL implementation please study null.c
The main link between the Groundstation and the Onboard software is through the communication layer.
struct CommMessage_t
A message to be sent.
Public Members
- uint8_t acid
Aircraft ID, id of message sender.
- uint8_t msgid
ID of message in payload.
- uint8_t len
Length of payload.
- uint8_t payload
Payload.
- uint8_t ck_a
Checksum high byte.
- uint8_t ck_b
Checksum low byte.
- uint8_t idx
State vaiable when filling payload.
Not sent
For a complete description of all communication messages please see Comm Protocol