this is the working code for the xdot to read in serial from the pi and send it over LoRa
Diff: SxRadioEvents.h
- Revision:
- 19:aa5b1fcd05be
- Parent:
- 18:d7332302f5f1
- Child:
- 21:bc12c888e7dc
diff -r d7332302f5f1 -r aa5b1fcd05be SxRadioEvents.h --- a/SxRadioEvents.h Thu Aug 29 08:40:49 2019 -0500 +++ b/SxRadioEvents.h Thu Aug 29 12:21:40 2019 -0500 @@ -43,7 +43,7 @@ * FSK : N/A ( set to 0 ) * LoRa: SNR value is two's complement in 1/4 dB */ - virtual void RxDone( uint8_t *payload, uint16_t size, int16_t rssi, int16_t snr ) {} + virtual void RxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ) {} /*! * \brief Rx Timeout callback prototype. */