We would like to implement a USB dongle with the nrf52840 with the following features:
- uses USB CDC-EEM
- uses DHCP to get an IP
- uses some protocol to connect to a server (HTTP, MQTT, ? )
- returns the channel on which an advertisement was received (this is part of the S140 api already)
- returns the ambient signal on the advertisment channels (I think this is called QoS in the S140 api)
Now we've already understood that CDC-EEM seems to be implemented in Zephyr OS, which would mean that we should take the new SDK. Unfortunately we were unable to find out exactly how to use the softdevices in the new version of the SDK. The nrfxlib that is part of this new SDK does not support the advertisement channel info and QoS that we require, so that one cannot be used (AFAIK).
Are there any examples/tutorials on how to use the CDC-EEM driver within Zephyr, and how to integrate the S140 softdevice within such an OS?
We've found some info about using the softdevice with interrupts or with polling, but it is not complelely clear to us how to do this in conjunction with Zephyr.
Any help/pointers would be very much appreciated.
Kind regards,
Diederik Loos