api doc for set_bandwidth

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-27 09:41:15 -08:00
parent 5fd91e7ce1
commit e75f752f3d

View file

@ -61,6 +61,10 @@ Initialized LoRa instance. This configures GPIOs, SPI, LoRa radio and receive ha
Returns 1 on success. Returns 1 on success.
### `void lora32_set_bandwidth(lora32_cfg_t *lora, enum bandwidth bw)`
Set operating bandwidth. Accepts enum bandwidth
`B78`, `B104`, `B156`, `B208`, `B3125`, `B417`, `B625`, `B125`, `B250`, `B500` or `0`-`9`
### `void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d)` ### `void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d)`
Set `Coding Rate`. Set `Coding Rate`.