All the driver configuration should actually be outside the driver itself. This may force another layer of abstraction, but I think it's worth it to keep things clean and allow very easy implementation for future radio swaps.
The configuration code and the while loop that is currently in RadioModule should be pushed down into the WifiRadio class.
RadioModule -> RadioLink -> WifiRadio -> ISM43340
RadioModule just sends the raw micro packets.
RadioLink packs into the rtp packet
WifiRadio sets up the ISM43340 and does all the specific radio stuff.
All the driver configuration should actually be outside the driver itself. This may force another layer of abstraction, but I think it's worth it to keep things clean and allow very easy implementation for future radio swaps.
The configuration code and the while loop that is currently in RadioModule should be pushed down into the WifiRadio class.
RadioModule -> RadioLink -> WifiRadio -> ISM43340
RadioModule just sends the raw micro packets.
RadioLink packs into the rtp packet
WifiRadio sets up the ISM43340 and does all the specific radio stuff.