Wireless interface using LoRa technology
Dependencies: AlohaTransceiver RingBuffer SX1276Lib_inAir SerialInterfaceProtocol mbed L3PDU
Diff: main.cpp
- Revision:
- 4:9151697dfa70
- Parent:
- 3:7bb50ee42cba
- Child:
- 8:e30610bf6f79
--- a/main.cpp Sun Jul 17 11:24:04 2016 +0000 +++ b/main.cpp Sun Jul 17 11:29:51 2016 +0000 @@ -83,6 +83,17 @@ return 0; } +/* + * Format: + * < :start flag + * 02 :command + * xx :length + * xx: :00: get, 01: set + * xx :index for parameters + * ... + * ff :checksum + * > :end flag + */ int configureRadio(uint8_t *payload, uint8_t payload_length, uint8_t *response, uint8_t *response_length) { // read settings from radio