之前使Ra-02,带宽7-9分别代表125Khz,250Khz,500Khz,现在用Ra01s,看sx1268手册上带宽设置应该跟sx1278是一样的,如下表
Signal Bandwidth 0 1 2 3 4 5 6 7 8 9
BW_L [kHz] 7.810 10.42 15.630 20.830 31.25 41.670 62.50 125 250 500
,但是在sx1268官 例程中发现带宽编号不是这么对应的,代码如下,请问这是怎么回事,请大神解答。
typedef enum
{
LORA_BW_500 = 6,
LORA_BW_250 = 5,
LORA_BW_125 = 4,
LORA_BW_062 = 3,
LORA_BW_041 = 10,
LORA_BW_031 = 2,
LORA_BW_020 = 9,
LORA_BW_015 = 1,
LORA_BW_010 = 8,
LORA_BW_007 = 0,
}RadioLoRaBandwidths_t;
|