Generic Pelion Device Management example for various U-blox-based boards.

Dependencies:   ublox-at-cellular-interface ublox-cellular-base

DEPRECATED

This example application is not maintained and not recommended. It uses an old version of Mbed OS, Pelion DM, and Arm toolchain. It doesn't work with Mbed Studio.

Please use: https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-pelion/

This example is known to work great on the following platforms:

For Odin-W2 please go to Repository link

Follow the Quick-Start instructions: https://cloud.mbed.com/quick-start

UBLOX_C030_U201

UBLOX_C030_R412M

Example functionality

This example showcases the following device functionality:

  • On user button click, increment Pelion LWM2M button resource.
  • Allow the user to change the state of the board LED from Pelion LWM2M led_state resource and PUT request.
  • (currently disabled) Read ADC temperature and ADC vref, and report them as Pelion LWM2M resources.

Use this example with Mbed CLI

1. Import the application into your desktop:

mbed import https://os.mbed.com/teams/ublox/code/pelion-example-common

cd pelion-example-common

2. Install the CLOUD_SDK_API_KEY

mbed config -G CLOUD_SDK_API_KEY <PELION_DM_API_KEY>

For instructions on how to generate your API key, please see the documentation.

3. Initialize firmware credentials (done once per repository). You can use the following command:

mbed dm init -d "<your company name in Pelion DM>" --model-name "<product model identifier>" -q --force

If above command do not work for your Mbed CLI, please consider upgrading Mbed CLI to version 1.8.x or above.

4. Compile and program:

mbed compile -t <toolchain> -m <TARGET_BOARD>

(supported toolchains : GCC_ARM / ARM / IAR)

History

Configuration changes for C030_R412M default tip

20 months ago, by qasimublox [Mon, 07 Oct 2019 07:16:57 +0000] rev 16

Configuration changes for C030_R412M


UBLOX Cellular Base library version updated

20 months ago, by fahimalavi [Fri, 04 Oct 2019 16:25:31 +0500] rev 15

UBLOX Cellular Base library version updated


Odin-W2 support removed and ublox cellular base library version updated

20 months ago, by fahimalavi [Fri, 04 Oct 2019 16:11:09 +0500] rev 14

Odin-W2 support removed and ublox cellular base library version updated


Reverting back to changeset 11 to support C030_R412M

21 months ago, by fahimalavi [Thu, 26 Sep 2019 16:23:46 +0500] rev 13

Reverting back to changeset 11 to support C030_R412M


Reverting back as Odin-W2 has build error with Mbed-os 5.12.4 and SMCC, reverting back to 230af466efc4

23 months ago, by fahimalavi [Thu, 04 Jul 2019 14:47:10 +0500] rev 12

Reverting back as Odin-W2 has build error with Mbed-os 5.12.4 and SMCC, reverting back to 230af466efc4


Build errors fixed for ODIN_W2 platform

24 months ago, by fahimalavi [Wed, 03 Jul 2019 10:58:54 +0500] rev 11

Build errors fixed for ODIN_W2 platform


Updating example to use ublox-at-cellular-interface

24 months ago, by fahimalavi [Mon, 24 Jun 2019 17:29:58 +0500] rev 10

Updating example to use ublox-at-cellular-interface


json configuration updated for R412M and bootloader file added

2019-06-11, by fahimalavi [Tue, 11 Jun 2019 13:28:20 +0500] rev 9

json configuration updated for R412M and bootloader file added


Support of C030-R412M added, mbed-os updated to 5.12.4

2019-06-11, by fahimalavi [Tue, 11 Jun 2019 13:16:32 +0500] rev 8

Support of C030-R412M added, mbed-os updated to 5.12.4


Imporve inline documentation

2019-03-27, by screamer [Wed, 27 Mar 2019 18:57:20 +0000] rev 7

Imporve inline documentation
Update to Mbed OS 5.11.5 and PDMC 2.2.1