Skip to content

Commit 7b162b1

Browse files
lemreyrlubos
authored andcommitted
lib: lwm2m_carrier: update to version 0.8.0
Update library to version 0.8.0 with support for modem firmware version 1.1.0. Internal revision: 9c158af Signed-off-by: Emanuele Di Santo <[email protected]> Signed-off-by: Stig Bjørlykke <[email protected]> Signed-off-by: Bartosz Gentkowski <[email protected]>
1 parent 1bfff28 commit 7b162b1

File tree

21 files changed

+1617
-501
lines changed

21 files changed

+1617
-501
lines changed

CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
/include/drivers/ @anangl
3737
/include/net/ @rlubos
3838
/include/nfc/ @anangl @grochu
39-
/include/shell/ @nordic-krch @jarz-nordic
39+
/include/shell/ @nordic-krch
40+
/lib/bin/ @rlubos @lemrey
4041
/lib/at_cmd_parser/ @rlubos
4142
/lib/at_host/ @rlubos
4243
/lib/at_notif/ @pkchan
4344
/lib/bsdlib/ @rlubos
4445
/lib/modem_info/ @rlubos
4546
/lib/pdn_management/ @rlubos
46-
/lib/lwm2m_carrier/ @rlubos @lemrey
4747
/samples/sensor/bh1749/ @wlgrd
4848
/samples/bluetooth/ @joerchan @lemrey @carlescufi
4949
/samples/bootloader/ @hakonfam @ioannisg

doc/nrf/libraries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ Here you can find documentation for these libraries, including API documentation
4545
../../include/nfc/t4t/*
4646
../../include/debug/*
4747
../../include/shell/*
48-
../../lib/lwm2m_carrier/lwm2m_carrier.rst
48+
../../lib/bin/lwm2m_carrier/lwm2m_carrier.rst
4949
../../include/at_cmd_parser/*

lib/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
55
#
66

7+
add_subdirectory(bin)
8+
79
add_subdirectory_ifdef(CONFIG_BSD_LIBRARY bsdlib)
8-
add_subdirectory_ifdef(CONFIG_LWM2M_CARRIER lwm2m_carrier)
910
add_subdirectory_ifdef(CONFIG_DK_LIBRARY dk_buttons_and_leds)
1011
add_subdirectory_ifdef(CONFIG_AT_NOTIF at_notif)
1112
add_subdirectory_ifdef(CONFIG_AT_HOST_LIBRARY at_host)

lib/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
menu "Libraries"
88

9-
rsource "bsdlib/Kconfig"
9+
rsource "bin/Kconfig"
1010

11-
rsource "lwm2m_carrier/Kconfig"
11+
rsource "bsdlib/Kconfig"
1212

1313
rsource "at_notif/Kconfig"
1414

lib/bin/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#
2+
# Copyright (c) 2019 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
5+
#
6+
7+
add_subdirectory_ifdef(CONFIG_LWM2M_CARRIER lwm2m_carrier)

lib/bin/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright (c) 2019 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
5+
#
6+
7+
menu "Binary libraries"
8+
9+
rsource "lwm2m_carrier/Kconfig"
10+
11+
endmenu

lib/lwm2m_carrier/CHANGELOG.rst renamed to lib/bin/lwm2m_carrier/CHANGELOG.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ Changelog
55

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

8+
liblwm2m_carrier 0.8.0
9+
**********************
10+
11+
Release for modem firmware version 1.1.0 with support for Verizon Wireless.
12+
13+
Certification status
14+
====================
15+
16+
The library is undergoing Verizon Wireless certification.
17+
18+
Changes
19+
=======
20+
21+
* Abstracted several new functions in the glue layer to improve compatibility on top of the master branch.
22+
* Re-organized NVS keys usage to make it range-bound (0xCA00, 0xCAFF); this range is not backward compatible, so you should not rely on pre-existing information saved in flash by earlier versions of this library.
23+
* Added APIs to set the following values from the application. The application should set and maintain these values to reflect the state of the device. Updated values are pushed to the servers autonomously.
24+
* Available Power Sources, Power Source Voltage, Power Source Current, Battery Level, Battery Status, Memory Free, Memory Total, Error Code.
25+
* Added API to set the "Device Type" resource. If not set, this is reported as "Smart Device".
26+
* Added API to set the "Software Version" resource. If not set, this is reported as "LwM2M 0.8.0".
27+
* Added API to set the "Hardware Version" resource. If not set, this is reported as "1.0".
28+
29+
Known issues and limitations
30+
============================
31+
32+
* It is not possible to use a DTLS connection in parallel with the library.
33+
* It is not possible to use a TLS connection in parallel with LwM2M-managed modem firmware updates.
34+
The application should close any TLS connections when it receives the LWM2M_CARRIER_EVENT_FOTA_START event from the library.
35+
836

937
liblwm2m_carrier 0.6.0
1038
**********************
File renamed without changes.

lib/lwm2m_carrier/Kconfig renamed to lib/bin/lwm2m_carrier/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ menuconfig LWM2M_CARRIER
2727
depends on PDN_MANAGEMENT
2828
# AT libraries
2929
depends on AT_CMD
30+
depends on (AT_CMD_RESPONSE_MAX_LEN > 128)
3031
depends on AT_CMD_PARSER
32+
depends on AT_NOTIF
3133
# reboot functionality
3234
depends on REBOOT
3335
help

0 commit comments

Comments
 (0)