Skip to content

nrf_modem: update library #1791

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
39 changes: 38 additions & 1 deletion nrf_modem/include/nrf_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,15 @@ extern "C" {
#define NRF_SEC_TAG_TLS_DECRYPT_19 (NRF_SEC_TAG_TLS_DECRYPT_BASE + 19)
/** @} */

/**
* @defgroup nrf_so_sec_tag_tls_invalid Invalid security tag
* @brief Designated value that represents an invalid @sa nrf_sec_tag_t.
* @ingroup nrf_socket_tls
* @{
*/
#define NRF_SEC_TAG_TLS_INVALID 0xFFFFFFFF
/** @} */

/**
* @addtogroup nrf_socket_api
* @{
Expand Down Expand Up @@ -773,7 +782,7 @@ struct nrf_ifaddrs {
/** @brief
* Security tags used on the TLS socket.
*
* More than one security tags may be used on a socket.
* More than one security tag may be used on a socket.
* If more than one tag is used on the socket, pass an array of security tags.
*
* A maximum of @ref NRF_SOCKET_TLS_MAX_SEC_TAG_LIST_SIZE tags can be set per socket.
Expand Down Expand Up @@ -1147,6 +1156,34 @@ void nrf_freeifaddrs(struct nrf_ifaddrs *ifa);
*/
int nrf_setdnsaddr(int family, const void *in_addr, nrf_socklen_t in_size);

/**
* @brief Enable or disable data traffic through the socket interface.
*
* @details
* This function can be used to disable all data traffic through the socket interface.
*
* When enabled is set to false, all sockets are closed and no new sockets can be opened.
* DNS operations are also disabled. The affected functions indicate an error and set @c errno
* to NRF_EACCES when data is disabled.
*
* @param enabled Whether to enable or disable data.
*
* @retval 0 on success.
* @retval -1 on error, and set @c errno to indicate the reason.
*/
int nrf_socket_data_enabled_set(bool enabled);

/**
* @brief Get the current data enabled state.
*
* @details
* This function is used to get the current data enabled state.
*
* @retval true if data is enabled.
* @retval false if data is disabled.
*/
bool nrf_socket_data_enabled_get(void);

/** @} */

#ifdef __cplusplus
Expand Down
Binary file modified nrf_modem/lib/cellular/nrf9120/hard-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9120/hard-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9120/soft-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9120/soft-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9160/hard-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9160/hard-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9160/soft-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9160/soft-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9230/hard-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9230/hard-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9230/soft-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/cellular/nrf9230/soft-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/dect_phy/nrf9120/hard-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/dect_phy/nrf9120/hard-float/libmodem_log.a
Binary file not shown.
Binary file modified nrf_modem/lib/dect_phy/nrf9120/soft-float/libmodem.a
Binary file not shown.
Binary file modified nrf_modem/lib/dect_phy/nrf9120/soft-float/libmodem_log.a
Binary file not shown.
Loading