Skip to content

Commit 15469c4

Browse files
nordic-marenordicjm
authored andcommitted
lib: pdn: Remove the deprecated PDN library
Remove the deprecated PDN library. Users should use the link controller library instead. Signed-off-by: Markus Rekdal <markus.rekdal@nordicsemi.no>
1 parent aa99fe6 commit 15469c4

29 files changed

Lines changed: 31 additions & 1426 deletions

.github/test-spec.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
- "include/modem/lte_lc*.h"
7070
- "include/modem/modem_key_mgmt.h"
7171
- "include/modem/nrf_modem_lib.h"
72-
- "include/modem/pdn.h"
7372
- "include/modem/sms.h"
7473
- "include/net/downloader.h"
7574
- "include/secure_services.h"
@@ -78,7 +77,6 @@
7877
- "lib/lte_link_control/**/*"
7978
- "lib/modem_key_mgmt/**/*"
8079
- "lib/nrf_modem_lib/**/*"
81-
- "lib/pdn/**/*"
8280
- "lib/sms/**/*"
8381
- "samples/cellular/at_client/**/*"
8482
- "samples/cellular/at_monitor/**/*"
@@ -108,8 +106,6 @@
108106
- "subsys/net/lib/downloader/**/*"
109107
- "lib/sms/**/*"
110108
- "include/modem/sms.h"
111-
- "lib/pdn/**/*"
112-
- "include/modem/pdn.h"
113109
- "include/modem/modem_key_mgmt.h"
114110
- "subsys/dfu/dfu_target/**/*"
115111

@@ -428,7 +424,6 @@
428424
- "include/modem/modem_jwt.h"
429425
- "include/modem/modem_key_mgmt.h"
430426
- "include/modem/nrf_modem_lib.h"
431-
- "include/modem/pdn.h"
432427
- "include/modem/sms.h"
433428
- "include/net/downloader.h"
434429
- "include/net/fota_download.h"
@@ -449,7 +444,6 @@
449444
- "lib/modem_jwt/**/*"
450445
- "lib/modem_key_mgmt/**/*"
451446
- "lib/nrf_modem_lib/**/*"
452-
- "lib/pdn/**/*"
453447
- "lib/sms/**/*"
454448
- "lib/supl/**/*"
455449
- "samples/cellular/modem_shell/**/*"

CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
/doc/nrf/libraries/modem/modem_jwt.rst @nrfconnect/ncs-iot-oulu-tampere-doc
149149
/doc/nrf/libraries/modem/modem_key_mgmt.rst @nrfconnect/ncs-modem-doc
150150
/doc/nrf/libraries/modem/ntn.rst @nrfconnect/ncs-iot-oulu-tampere-doc
151-
/doc/nrf/libraries/modem/pdn.rst @nrfconnect/ncs-modem-doc
152151
/doc/nrf/libraries/modem/sms.rst @nrfconnect/ncs-iot-positioning-doc
153152
/doc/nrf/libraries/modem/uicc_lwm2m.rst @nrfconnect/ncs-modem-doc
154153
/doc/nrf/libraries/modem/zzhc.rst @nrfconnect/ncs-doc-leads
@@ -411,7 +410,6 @@
411410
/lib/ntn/ @nrfconnect/ncs-modem-tre
412411
/lib/pcm_mix/ @nrfconnect/ncs-audio
413412
/lib/pcm_stream_channel_modifier/ @nrfconnect/ncs-audio
414-
/lib/pdn/ @nrfconnect/ncs-co-networking @nrfconnect/ncs-modem @nrfconnect/ncs-modem-tre
415413
/lib/qos/ @nrfconnect/ncs-cia
416414
/lib/ram_pwrdn/ @MarekPorwisz
417415
/lib/sample_rate_converter/ @nrfconnect/ncs-audio

doc/nrf/libraries/modem/pdn.rst

Lines changed: 0 additions & 82 deletions
This file was deleted.

doc/nrf/releases_and_maturity/migration/migration_guide_3.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ PDN library
399399

400400
.. toggle::
401401

402-
* The :ref:`pdn_readme` library has been deprecated in favor of the PDN management functionality provided by the :ref:`lte_lc_readme` library and will be removed in a future |NCS| release.
402+
* The PDN library has been deprecated in favor of the PDN management functionality provided by the :ref:`lte_lc_readme` library and will be removed in a future |NCS| release.
403403

404404
To migrate your application to use LTE link control PDN management instead of the PDN library, complete the following steps:
405405

doc/nrf/releases_and_maturity/releases/release-notes-1.6.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ nRF9160
102102

103103
* :ref:`pdn_sample` sample:
104104

105-
* Demonstrates how to create and configure a Packet Data Protocol (PDP) context, activate a Packet Data Network connection, and receive events on its state and connectivity using the :ref:`pdn_readme` library.
105+
* Demonstrates how to create and configure a Packet Data Protocol (PDP) context, activate a Packet Data Network connection, and receive events on its state and connectivity using the PDN library.
106106

107-
* :ref:`pdn_readme` library:
107+
* PDN library:
108108

109109
* Manages Packet Data Protocol (PDP) contexts and PDN connections.
110110

@@ -413,7 +413,7 @@ Modem library
413413
* GNSS socket API is now deprecated.
414414

415415
* PDN socket API is deprecated.
416-
The functionality has been replaced by the :ref:`pdn_readme` library.
416+
The functionality has been replaced by the PDN library.
417417

418418
Crypto
419419
++++++

doc/nrf/releases_and_maturity/releases/release-notes-1.8.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ Modem libraries
527527

528528
* Added a possibility to create native sockets when nRF91 socket offloading is enabled.
529529

530-
* :ref:`pdn_readme` library:
530+
* PDN library:
531531

532532
* Added an optional ``family`` parameter to :c:func:`pdn_activate`, which is used to report when the IP family of a PDN changes after activation.
533533
* Aligned the return values of :c:func:`pdn_init` to return negative errnos on error.

doc/nrf/releases_and_maturity/releases/release-notes-2.1.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,14 +717,14 @@ Modem libraries
717717

718718
* Fixed an issue that would cause AT command responses like ``+CNCEC_EMM`` with underscore to be filtered out.
719719

720-
* :ref:`pdn_readme` library:
720+
* PDN library:
721721

722722
* Added:
723723

724724
* Support for setting multiple event callbacks for the default PDP context.
725725
* The :c:func:`pdn_default_ctx_cb_dereg` function to deregister a callback for the default PDP context.
726726
* The :c:func:`pdn_esm_strerror` function to retrieve a textual description of an ESM error reason.
727-
The function is compiled when :kconfig:option:`CONFIG_PDN_ESM_STRERROR` Kconfig option is enabled.
727+
The function is compiled when ``CONFIG_PDN_ESM_STRERROR`` Kconfig option is enabled.
728728

729729
* Updated:
730730

doc/nrf/releases_and_maturity/releases/release-notes-2.4.0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ Modem libraries
755755
* The deprecated function ``nrf_modem_lib_shutdown_wait``.
756756
* The deprecated Kconfig option ``CONFIG_NRF_MODEM_LIB_TRACE_ENABLED``.
757757

758-
* :ref:`pdn_readme` library:
758+
* PDN library:
759759

760-
* Updated the library to use ePCO mode if the Kconfig option :kconfig:option:`CONFIG_PDN_LEGACY_PCO` is not enabled.
760+
* Updated the library to use ePCO mode if the Kconfig option ``CONFIG_PDN_LEGACY_PCO`` is not enabled.
761761

762762
* Fixed:
763763

@@ -831,7 +831,7 @@ Libraries for networking
831831
* :file:`lwm2m_client_utils_location.h` includes new API for location assistance to register application callback to receive result codes from location assistance.
832832
* :file:`lwm2m_client_utils_location.h` by removing deprecated confirmable parameters from location assistance APIs.
833833

834-
* :ref:`pdn_readme` library:
834+
* PDN library:
835835

836836
* Added the event ``PDN_EVENT_NETWORK_DETACH`` to indicate a full network detach.
837837

doc/nrf/releases_and_maturity/releases/release-notes-2.5.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ Modem libraries
959959
* The ``agps_request`` member of the :c:struct:`location_event_data` structure has been renamed to :c:member:`location_event_data.agnss_request`.
960960
* The ``location_agps_data_process()`` function has been renamed to :c:func:`location_agnss_data_process`.
961961

962-
* :ref:`pdn_readme` library:
962+
* PDN library:
963963

964964
* Added the :c:enumerator:`PDN_EVENT_APN_RATE_CONTROL_ON` and :c:enumerator:`PDN_EVENT_APN_RATE_CONTROL_OFF` events to report on the status of APN rate control.
965965
* Updated the library to allow a ``PDP_type``-only configuration in the :c:func:`pdn_ctx_configure` function.

doc/nrf/releases_and_maturity/releases/release-notes-2.6.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ Modem libraries
11571157

11581158
* Updated the library by making the used GPIO to be configurable using devicetree.
11591159

1160-
* :ref:`pdn_readme` library:
1160+
* PDN library:
11611161

11621162
* Added the :c:func:`pdn_dynamic_params_get` function to retrieve dynamic parameters of an active PDN connection.
11631163
* Updated the library to add PDP auto configuration to the :c:enumerator:`LTE_LC_FUNC_MODE_POWER_OFF` event.

0 commit comments

Comments
 (0)