lora.coding_rate([coding_rate]) Get or set the coding rate in raw LoRa mode (LoRa.LORA). The allowed values are: LoRa.CODING_4_5 (0), LoRa.CODING_4_6 (1), LoRa.CODING_4_7 (2) and LoRa.CODING_4_8 (3).
I think this is just a documentation issue as setting the coding rate to 0 on the sx1272 would put it in FSK mode.
While trouble shooting an issue with my LoPy it looks I uncovered a discrepancy between docs and implementation for
coding_rate
.modlora.c shows:
While docs indicate:
lora.coding_rate([coding_rate])
Get or set the coding rate in raw LoRa mode (LoRa.LORA). The allowed values are:LoRa.CODING_4_5 (0), LoRa.CODING_4_6 (1), LoRa.CODING_4_7 (2) and LoRa.CODING_4_8 (3)
.I think this is just a documentation issue as setting the coding rate to
0
on the sx1272 would put it in FSK mode.