-
Notifications
You must be signed in to change notification settings - Fork 7.6k
drivers: modem: Add nRF91x SLM Socket Offloaded driver #91601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@MarkusLassila you asked to be tagged for this draft PR |
a754256
to
fbc525d
Compare
0532468
to
90159c3
Compare
90159c3
to
3999046
Compare
My testing was done with In I applied the following patch to wait for registration. (because
I used this configuration overlay to disable NET_NATIVE and enable socket offloading
And I used this device tree overlay for my LPC5516.
Sample size with socket offloading:
|
This commit adds a socket offloaded driver for the Nordic nRF91x Serial LTE Modem. Signed-off-by: Wilkins White <ww@novadynamics.com>
3999046
to
89494aa
Compare
|
This is a socket offloaded modem driver for the nRF91 Serial LTE Modem. The driver structure is based on Bjarki's modem_cellular driver and uses the modem chat interface.
For clarity the driver is broken into multiple files. These can be merged in to one file during final rebase/squash if desired.
nrf91_slm.c
contains the state machine and events. It is a lightly modified version of Bjark's cellular_modem driver to disable PPP (if enabled).nrf91_slm_dns.c
contains thesocket_dns_offload
functions.nrf91_slm_socket.c
contains thesocket_op_vtable
functions.Right now the driver only supports a single modem and TCP sockets (XSEND and XRECV). I have tested it mostly using MQTT.
Areas for future development:
Testing details for the mqtt_publisher sample are here: #91601 (comment)