Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion nrf_modem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if(CONFIG_NRF_MODEM_LINK_BINARY)
cmake_path(APPEND lib_path nrf9160)
elseif(CONFIG_SOC_NRF9120)
cmake_path(APPEND lib_path nrf9120)
elseif(CONFIG_SOC_NRF9230_ENGB_CPUAPP)
cmake_path(APPEND lib_path nrf9230)
else()
assert(0 "Unsupported SOC. Got '${CONFIG_SOC}'")
endif()
Expand Down Expand Up @@ -54,6 +56,8 @@ if(CONFIG_NRF_MODEM_LINK_BINARY)

zephyr_include_directories(include)

target_sources(app PRIVATE shmem.c)
if(CONFIG_SOC_NRF9160 OR CONFIG_SOC_NRF9120)
target_sources(app PRIVATE shmem.c)
endif()

endif()
5 changes: 3 additions & 2 deletions nrf_modem/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menu "nrf_modem (Modem library)"
# Selected by NRF_MODEM_LIB in sdk-nrf
config NRF_MODEM
bool
select NRFX_IPC if (SOC_SERIES_NRF91X || ZTEST)
select NRFX_IPC if SOC_SERIES_NRF91X
select REQUIRES_FULL_LIBC

if NRF_MODEM
Expand Down Expand Up @@ -45,7 +45,8 @@ endif # NRF_MODEM

config NRF_MODEM_SHMEM_CTRL_SIZE
hex
default 0x728 if NRF_MODEM_LINK_BINARY_DECT_PHY
default 0xCE0 if (SOC_SERIES_NRF92X && NRF_MODEM_LINK_BINARY_CELLULAR)
default 0x728 if (SOC_SERIES_NRF91X && NRF_MODEM_LINK_BINARY_DECT_PHY)
default 0x4e8

endmenu # nrf_modem
53 changes: 53 additions & 0 deletions nrf_modem/doc/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,59 @@ Changelog

All notable changes to this project are documented in this file.

nrf_modem
*********

Core library
============

* Added:

* A header file :file:`nrf_modem_toolchain.h` for compiler attributes used in other header files.
* Binaries for the nRF9230 SoC for internal development.
* A header file :file:`nrf_modem_os_rpc.h` for the nRF9230 SoC RPC OS glue.

AT interface
============

* Added:

* Logging for AT responses and notifications to the logging binaries.
* Format helpers to AT functions that take a variable number of arguments to improve type checking.

Sockets
=======

* Added:

* The capability to read the value of the :c:macro:`NRF_SO_KEEPOPEN` socket option with modem firmware v2.0.2 and higher.
* The :c:macro:`NRF_SO_IPV6_DELAYED_ADDR_REFRESH` socket option to delay the IPv6 address refresh until the device wakes up from PSM or eDRX sleep.
This prevents the device from waking up solely to refresh the address.
This socket option is supported by modem firmware v1.3.7 and higher and modem firmware v2.0.2 and higher.

* Updated the :c:func:`nrf_getaddrinfo` function to support up to three concurrent DNS requests.

* Removed:

* The deprecated types ``nrf_sec_cipher_t``, ``nrf_sec_peer_verify_t``, ``nrf_sec_role_t``, and ``nrf_sec_session_cache_t``.
* The deprecated RAI socket options ``NRF_SO_RAI_NO_DATA``, ``NRF_SO_RAI_LAST``, ``NRF_SO_RAI_ONE_RESP``, ``NRF_SO_RAI_ONGOING``, and ``NRF_SO_RAI_WAIT_MORE``.

DECT NR+
========

* Added:

* Physical layer control field header formats.
* New API for STF cover sequence control.
This API is intended for certification purposes only and should not be used under normal operation.

* Updated the documentation to state that RSSI reporting interval is measured in slots and not subslots.

Tracing
=======

* Updated the function :c:func:`nrf_modem_trace_get` to now return ``-NRF_EPERM`` if trace interface is not initialized.

nrf_modem 2.7.0
***************

Expand Down
5 changes: 5 additions & 0 deletions nrf_modem/doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,8 @@ OS specific definitions
***********************

.. doxygengroup:: nrf_modem_os

OS RPC transport definitions for the nRF9230 SoC
************************************************

.. doxygengroup:: nrf_modem_os_rpc
159 changes: 66 additions & 93 deletions nrf_modem/doc/sockets/socket_options_func.rst

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions nrf_modem/include/nrf_modem_at.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <stddef.h>
#include <stdbool.h>
#include <nrf_modem_toolchain.h>

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -86,6 +87,7 @@ void nrf_modem_at_cfun_handler_set(nrf_modem_at_cfun_handler_t handler);
* @retval -NRF_ENOMEM Not enough shared memory for this request.
* @retval -NRF_ESHUTDOWN If modem was shut down.
*/
__nrf_modem_printf_like(1, 2)
int nrf_modem_at_printf(const char *fmt, ...);

/**
Expand All @@ -108,6 +110,7 @@ int nrf_modem_at_printf(const char *fmt, ...);
* @retval -NRF_ENOMEM Not enough shared memory for this request.
* @retval -NRF_ESHUTDOWN If the modem was shut down.
*/
__nrf_modem_scanf_like(2, 3)
int nrf_modem_at_scanf(const char *cmd, const char *fmt, ...);

/**
Expand All @@ -131,6 +134,7 @@ int nrf_modem_at_scanf(const char *cmd, const char *fmt, ...);
* @retval -NRF_E2BIG The response is larger than the supplied buffer @c buf.
* @retval -NRF_ESHUTDOWN If the modem was shut down.
*/
__nrf_modem_printf_like(3, 4)
int nrf_modem_at_cmd(void *buf, size_t len, const char *fmt, ...);

/**
Expand Down Expand Up @@ -165,6 +169,7 @@ typedef void (*nrf_modem_at_resp_handler_t)(const char *resp);
* @retval -NRF_ENOMEM Not enough shared memory for this request.
* @retval -NRF_ESHUTDOWN If the modem was shut down.
*/
__nrf_modem_printf_like(2, 3)
int nrf_modem_at_cmd_async(nrf_modem_at_resp_handler_t callback, const char *fmt, ...);

/** @brief AT command handler prototype.
Expand Down
Loading
Loading