123
Diff: sx127x_lora.h
- Revision:
- 10:7382c260c4b1
- Parent:
- 9:ae1a71ccd730
- Child:
- 11:4210303ac88d
--- a/sx127x_lora.h Thu Feb 26 23:31:36 2015 +0000 +++ b/sx127x_lora.h Fri Feb 27 22:50:18 2015 +0000 @@ -113,7 +113,7 @@ struct { // sx127x register 0x26 uint8_t reserved : 2; // 0,1 uint8_t AgcAutoOn : 1; // 2 - uint8_t LowDataRateOptimize : 1; // 3 ppm_offset + uint8_t LowDataRateOptimize : 1; // 3 ppm_offset, use when symbol duration exceeds 16ms uint8_t unused : 4; // 4,5,6,7 } sx1276bits; uint8_t octet; @@ -191,6 +191,11 @@ float get_pkt_rssi(void); + /** retrieve symbol duration from bandwidth and spreading factor + * @returns symbol duration in milliseconds + */ + float get_symbol_period(void); + service_action_e service(void); // (SLIH) ISR bottom half bool poll_vh;