zephyr/drivers/modem
Bjarki Arge Andreasen b0d8f5ec7f drivers/modem/modem_socket: Updated API
The internal socket context struct modem_socket_config
currently has members accessed directly by user. The
modem_socket_init() function has been updated to take all
user configurations as args. Thus removing the need for
the user to directly access the internal context for
initialization.

The user also currently needs to know of internal modem
socket libary behavior to determine if a socket has been
allocated and assigned an id, this is documented, and is
not safe. The functions:
 modem_socket_is_allocated()
 modem_socket_id_is_assigned()
 modem_socket_id_assign()
have been added to the modem socket library API to perform
these checks, and to assign socket ids.

This commit makes use of the modem socket library safer and
adds documentation to the API.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
2023-04-11 11:42:00 +02:00
..
CMakeLists.txt
gsm_ppp.c drivers/modem/modem_cmd_handler: Update API 2023-04-11 11:42:00 +02:00
hl7800.c net: dummy L2 for offloaded ifaces 2023-03-20 09:53:25 +01:00
Kconfig drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
Kconfig.gsm
Kconfig.hl7800
Kconfig.quectel-bg9x
Kconfig.simcom-sim7080
Kconfig.ublox-sara-r4
Kconfig.wncm14a2a
modem_cmd_handler.c drivers/modem/modem_cmd_handler: Update API 2023-04-11 11:42:00 +02:00
modem_cmd_handler.h drivers/modem/modem_cmd_handler: Update API 2023-04-11 11:42:00 +02:00
modem_context.c
modem_context.h modem: ppp: gsm: extract access technology 2022-11-11 08:41:13 +00:00
modem_iface_uart_async.c drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
modem_iface_uart_interrupt.c drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
modem_iface_uart.h drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
modem_receiver.c
modem_receiver.h
modem_shell.c modem: ppp: gsm: extract access technology 2022-11-11 08:41:13 +00:00
modem_socket.c drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
modem_socket.h drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
quectel-bg9x.c drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
quectel-bg9x.h drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
simcom-sim7080.c drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
simcom-sim7080.h drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
ublox-sara-r4.c drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
wncm14a2a.c wncm14a2a: fix armclang compiler warnings with is*() functions 2023-04-04 13:48:09 +02:00