LoRa Module with single channel gateway

Hi, if you would need to configure LoRa Module for single channel gateway, for example with some Rpi hat or ESP8266/ESP32. Then you can use this configuration for SF7BW125 and 868.1MHz frequency.

Open file sdk/bcl/src/bc_cmwx1zzabz.c and into the _init_commands insert lines AT+DR=5 & AT+CHMASK, you have to follow the order and position of these commands. So the result will be:

// Apply changes to the factory configuration
const char *_init_commands[] =
{
    "\rAT\r",
    "AT+DR=5\r",
    "AT+CHMASK=0100\r",
    "AT+DUTYCYCLE=0\r",
    "AT+DEVADDR?\r",
    "AT+DEVEUI?\r",
    "AT+APPEUI?\r",
    "AT+NWKSKEY?\r",
    "AT+APPSKEY?\r",
    "AT+APPKEY?\r",
    "AT+BAND?\r",
    "AT+MODE?\r",
    "AT+CLASS?\r",
    "AT+RX2?\r",
    "AT+NWK?\r",
    "AT+DR?\r",
    NULL
};
1 Like