Closed danak6jq closed 2 years ago
After looking into this, I'm not so sure sub-band support is that critical for OTAA devices. Adding a couple of lines of code to the join callback in lora_app.c will re-try until a GW is found; the GW will then send down the channel mask to use:
`static void OnJoinRequest(LmHandlerJoinParams_t joinParams) { / USER CODE BEGIN OnJoinRequest_1 */
if (joinParams->Status == LORAMAC_HANDLER_ERROR) {
LmHandlerJoin(ActivationType);
}
/ USER CODE END OnJoinRequest_1 / }`
The ST port of Semtech reference port offers a HYBRID_ENABLED scheme to select a subset of US915 channels. Production motes really require the ability to configure the channel map in the field, need an API for this