### Observation In [RadioSetRxConfig](https://github.com/Lora-net/LoRaMac-node/blob/master/src/radio/sx126x/radio.c#L638) there is no security on casting uint16_t symbTimeout to uint_8t in [SX126xSetLoRaSymbNumTimeout](https://github.com/Lora-net/LoRaMac-node/blob/master/src/radio/sx126x/radio.c#L744). ### Impact Leading to Rx2 timeout issues due to wrong Rx window value. symbTimeout should be lower than uint8_t limitation otherwise it'll trigger wrong timeout irq. This can happens when using high data rate with a high MAX_RX_TIMEOUT_ERROR. ### Recommendation Add a security in the choice of MAX_RX_TIMEOUT_ERROR or in the definition of Rxearly Rxlate and RxWindowTimeout.