Skip to content

Commit 62920b9

Browse files
anhmoltrlubos
authored andcommitted
Revert "nrf_modem: update library binaries"
This reverts commit 902344d. Signed-off-by: Andreas Moltumyr <[email protected]>
1 parent 4ab55b4 commit 62920b9

File tree

20 files changed

+126
-333
lines changed

20 files changed

+126
-333
lines changed

nrf_modem/doc/CHANGELOG.rst

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -9,57 +9,6 @@ Changelog
99

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

12-
nrf_modem
13-
*********
14-
15-
Core library
16-
============
17-
18-
* Added:
19-
20-
* A header file :file:`nrf_modem_toolchain.h` for compiler attributes used in other header files.
21-
22-
AT interface
23-
============
24-
25-
* Added:
26-
27-
* Logging for AT responses and notifications to the logging binaries.
28-
* Format helpers to AT functions that take a variable number of arguments to improve type checking.
29-
30-
Sockets
31-
=======
32-
33-
* Added:
34-
35-
* The capability to read the value of the :c:macro:`NRF_SO_KEEPOPEN` socket option with modem firmware v2.0.2 and higher.
36-
* 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.
37-
This prevents the device from waking up solely to refresh the address.
38-
This socket option is supported by modem firmware v1.3.7 and higher and modem firmware v2.0.2 and higher.
39-
40-
* Updated the :c:func:`nrf_getaddrinfo` function to support up to three concurrent DNS requests.
41-
42-
* Removed:
43-
44-
* The deprecated types ``nrf_sec_cipher_t``, ``nrf_sec_peer_verify_t``, ``nrf_sec_role_t``, and ``nrf_sec_session_cache_t``.
45-
* 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``.
46-
47-
DECT NR+
48-
========
49-
50-
* Added:
51-
52-
* Physical layer control field header formats.
53-
* New API for STF cover sequence control.
54-
This API is intended for certification purposes only and should not be used under normal operation.
55-
56-
* Updated the documentation to state that RSSI reporting interval is measured in slots and not subslots.
57-
58-
Tracing
59-
=======
60-
61-
* Updated the function :c:func:`nrf_modem_trace_get` to now return ``-NRF_EPERM`` if trace interface is not initialized.
62-
6312
nrf_modem 2.7.0
6413
***************
6514

nrf_modem/doc/sockets/socket_options_func.rst

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ The following table shows all socket options supported by the Modem library.
6363
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
6464
| NRF_SOL_SOCKET | NRF_SO_KEEPOPEN | ``int`` | get/set | Keep the socket open when its PDN connection is lost, or the device is set to flight mode. |
6565
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
66+
| NRF_SOL_SOCKET | NRF_SO_RAI_LAST | ``int`` | set | Deprecated. Use :c:macro:`NRF_SO_RAI` with value ``NRF_RAI_LAST`` instead. |
67+
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
68+
| NRF_SOL_SOCKET | NRF_SO_RAI_ONE_RESP | ``int`` | set | Deprecated. Use :c:macro:`NRF_SO_RAI` with value ``NRF_RAI_ONE_RESP`` instead. |
69+
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
70+
| NRF_SOL_SOCKET | NRF_SO_RAI_ONGOING | ``int`` | set | Deprecated. Use :c:macro:`NRF_SO_RAI` with value ``NRF_RAI_ONGOING`` instead. |
71+
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
72+
| NRF_SOL_SOCKET | NRF_SO_RAI_WAIT_MORE | ``int`` | set | Deprecated. Use :c:macro:`NRF_SO_RAI` with value ``NRF_RAI_WAIT_MORE`` instead. |
73+
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
74+
| NRF_SOL_SOCKET | NRF_SO_RAI_NO_DATA | ``int`` | set | Deprecated. Use :c:macro:`NRF_SO_RAI` with value ``NRF_RAI_NO_DATA`` instead. |
75+
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
6676
| NRF_SOL_SOCKET | NRF_SO_RAI | ``int`` | set | Release Assistance Indication (RAI). |
6777
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
6878
| NRF_IPPROTO_ALL | NRF_SO_SILENCE_ALL | ``int`` | get/set | Non-zero disables ICMP echo replies on both IPv4 and IPv6. |
@@ -71,8 +81,6 @@ The following table shows all socket options supported by the Modem library.
7181
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
7282
| NRF_IPPROTO_IPV6 | NRF_SO_IPV6_ECHO_REPLY | ``int`` | get/set | Non-zero enables ICMP echo replies on IPv6. |
7383
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
74-
| NRF_IPPROTO_IPV6 | NRF_SO_IPV6_DELAYED_ADDR_REFRESH | ``int`` | get/set | Non-zero delays IPv6 address refresh during power saving mode. |
75-
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
7684
| NRF_IPPROTO_TCP | NRF_SO_TCP_SRV_SESSTIMEO | ``int`` | get/set | Non-zero enables TCP server session timeout after a configurable period of inactivity. |
7785
+------------------+----------------------------------+------------------------+------------+--------------------------------------------------------------------------------------------+
7886
| NRF_SOL_SECURE | NRF_SO_SEC_TAG_LIST | ``nrf_sec_tag_t *`` | get/set | Set/get the security tag associated with a socket. |
@@ -199,6 +207,32 @@ NRF_SO_RAI
199207
* ``NRF_RAI_ONGOING`` - Keep RRC in connected mode after the next output operation on this socket (client side).
200208
* ``NRF_RAI_WAIT_MORE`` - Keep RRC in connected mode after the next output operation on this socket (server side).
201209

210+
NRF_SO_RAI_LAST
211+
Deprecated since v2.6.0. Use the :c:macro:`NRF_SO_RAI` socket option with value ``NRF_RAI_LAST`` instead.
212+
This is a Release assistance indication (RAI) socket option.
213+
Enter RRC idle mode after the next output operation on this socket is complete.
214+
215+
NRF_SO_RAI_ONE_RESP
216+
Deprecated since v2.6.0. Use the :c:macro:`NRF_SO_RAI` socket option with value ``NRF_RAI_ONE_RESP`` instead.
217+
This is a Release assistance indication (RAI) socket option.
218+
After the next output operation is complete, wait for one more packet to be received from the network on this socket before entering RRC idle mode.
219+
220+
NRF_SO_RAI_ONGOING
221+
Deprecated since v2.6.0. Use the :c:macro:`NRF_SO_RAI` socket option with value ``NRF_RAI_ONGOING`` instead.
222+
This is a Release assistance indication (RAI) socket option.
223+
Keep RRC in connected mode after the next output operation on this socket (client side).
224+
225+
NRF_SO_RAI_WAIT_MORE
226+
Deprecated since v2.6.0. Use the :c:macro:`NRF_SO_RAI` socket option with value ``NRF_RAI_WAIT_RESP`` instead.
227+
This is a Release assistance indication (RAI) socket option.
228+
Keep RRC in connected mode after the next output operation on this socket (server side).
229+
230+
NRF_SO_RAI_NO_DATA
231+
Deprecated since v2.6.0. Use the :c:macro:`NRF_SO_RAI` socket option with value ``NRF_RAI_NO_DATA`` instead.
232+
This is a Release assistance indication (RAI) socket option.
233+
Immediately enter RRC idle mode for this socket.
234+
Does not require a following output operation.
235+
202236
NRF_SO_SILENCE_ALL
203237
Disable ICMP echo replies on both IPv4 and IPv6.
204238
The option value is an integer, a ``1`` value disables echo replies.
@@ -214,13 +248,6 @@ NRF_SO_IPV6_ECHO_REPLY
214248
The option value is an integer, a ``0`` value disables echo replies on IPv6.
215249
Default value is ``1`` (ON).
216250

217-
NRF_SO_IPV6_DELAYED_ADDR_REFRESH
218-
By default, if the lifetime of an IPv6 address expires during power saving mode (PSM), the device wakes up solely to refresh the address.
219-
If this socket option is enabled, the IPv6 address refresh is delayed until the next time the device wakes up from PSM or eDRX sleep.
220-
This avoids unnecessary wake-ups and optimizes the power usage.
221-
The option value is an integer, a ``1`` value enables delayed IPv6 address refresh on IPv6.
222-
Default value is ``0`` (OFF).
223-
224251
NRF_SO_TCP_SRV_SESSTIMEO
225252
Configure the TCP server session inactivity timeout for a socket.
226253
The timeout value is specified in seconds.

nrf_modem/include/nrf_modem_at.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include <stddef.h>
1818
#include <stdbool.h>
19-
#include <nrf_modem_toolchain.h>
2019

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

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

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

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

175170
/** @brief AT command handler prototype.

0 commit comments

Comments
 (0)