Skip to content

Commit 513e060

Browse files
committed
nrf_modem: update library
SHA: 06346e05b420b2cd1c7e4fe208b81f75adcce244 Automatically created by libmodem Github workflow. Signed-off-by: Nordic Builder <[email protected]>
1 parent 2251371 commit 513e060

File tree

20 files changed

+10
-11
lines changed

20 files changed

+10
-11
lines changed

nrf_modem/include/nrf_modem_os.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
/** Infinite time-out. */
2929
#define NRF_MODEM_OS_FOREVER -1
3030
/** Number of OS semaphores required. */
31-
#define NRF_MODEM_OS_NUM_SEM_REQUIRED 7
31+
#define NRF_MODEM_OS_NUM_SEM_REQUIRED 8
3232
/** Number of OS mutexes required. */
3333
#define NRF_MODEM_OS_NUM_MUTEX_REQUIRED 1
3434

nrf_modem/include/nrf_modem_os_rpc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ extern struct nrf_modem_os_rpc inst_data;
119119
*/
120120
extern struct nrf_modem_os_rpc_signal inst_app_fault;
121121
extern struct nrf_modem_os_rpc_signal inst_modem_fault;
122+
extern struct nrf_modem_os_rpc_signal inst_modem_trace;
122123
extern struct nrf_modem_os_rpc_signal inst_modem_sysoff;
123124

124125
/**

nrf_modem/include/nrf_modem_softsim.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ int nrf_modem_softsim_req_handler_set(nrf_modem_softsim_req_handler_t handler);
7979
* @retval 0 on success.
8080
* @retval -NRF_EINVAL If input data is invalid.
8181
* @retval -NRF_ENOMEM If memory allocation failed.
82+
* @retval -NRF_EPERM The Modem library is not initialized.
8283
*/
83-
int nrf_modem_softsim_res(enum nrf_modem_softsim_cmd cmd, uint16_t req_id, void *data,
84+
int nrf_modem_softsim_res(enum nrf_modem_softsim_cmd cmd, uint16_t req_id, const void *data,
8485
uint16_t data_len);
8586

8687
/**
@@ -93,6 +94,7 @@ int nrf_modem_softsim_res(enum nrf_modem_softsim_cmd cmd, uint16_t req_id, void
9394
*
9495
* @retval 0 on success.
9596
* @retval -NRF_ENOMEM If memory allocation failed.
97+
* @retval -NRF_EPERM The Modem library is not initialized.
9698
*/
9799
int nrf_modem_softsim_err(enum nrf_modem_softsim_cmd cmd, uint16_t req_id);
98100

nrf_modem/include/nrf_socket.h

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,17 +1122,13 @@ int nrf_getifaddrs(struct nrf_ifaddrs **ifa);
11221122
void nrf_freeifaddrs(struct nrf_ifaddrs *ifa);
11231123

11241124
/**
1125-
* @brief Set a secondary DNS address.
1125+
* @brief Set a fallback DNS address.
11261126
*
11271127
* @details
1128-
* The secondary DNS address is only used in case the primary DNS address is unreachable,
1129-
* or if no DNS address is provided by the operator. The secondary DNS address does not
1130-
* override the primary DNS address.
1128+
* The fallback DNS address is used only when the network-provided DNS addresses are
1129+
* missing or unreachable. The fallback DNS does not override the network-provided DNS.
11311130
*
1132-
* @note
1133-
* It is not possible to unset a secondary DNS address set using this function.
1134-
*
1135-
* @param family Address family.
1131+
* @param family Address family, either NRF_AF_INET or NRF_AF_INET6.
11361132
* @param in_addr An IPv4 or IPv6 address encoded in a nrf_in_addr or
11371133
* nrf_in6_addr structure, respectively.
11381134
* @param in_size Size of the structure pointed to by in_addr.
@@ -1142,8 +1138,8 @@ void nrf_freeifaddrs(struct nrf_ifaddrs *ifa);
11421138
*
11431139
* The function may return -1 and set the following errno:
11441140
* - [NRF_EPERM] The Modem library is not initialized.
1145-
* - [NRF_EAFNOSUPPORT] The implementation does not support the specified address family.
11461141
* - [NRF_EINVAL] Invalid parameters.
1142+
* - [NRF_EAFNOSUPPORT] The implementation does not support the specified address family.
11471143
* - [NRF_ENOBUFS] Not enough shared memory for this request.
11481144
* - [NRF_ESHUTDOWN] Modem was shut down.
11491145
*/
152 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.
156 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)