Example of using the mDot UDK with the X-NUCLEO-IKS01A1 shield

Dependencies:   mDot_X_NUCLEO_IKS01A1 libmDot-dev-mbed5-deprecated

Hardware

Hardware List

Setup

  • Install the mDot on the developer board.
  • Install the IKS01A1 on the developer board.
  • If using a MTUDK-ST-CELL (white board) plug in the AC power adapter
  • Connect the microusb power to your development PC
    • if using a MTUDK-ST-CELL there are 2 microusb ports. Use the one closest to the serial port.

Your developer board should look like the following:

/media/uploads/pferland/udk_iks01a1.jpg

Software

This example program uses LoRa utility functions from Dot-Examples and the IKS01A1 library from ST Micro.

LoRa Configuration

Senet

By default this program is configured to connect to the Senet network. To connect to Senet you will need to register your mDot's Node ID with the Senet developer portal and change the network_key array in main.cpp.

Others

To connect to a different LoRa gateway change the arrays network_id and network_key. If you are using passphrases, edit the strings network_name and network_key, uncomment the function "update_ota_config_name_phrase" and comment out the function "update_ota_config_id_key".

Files at this revision

API Documentation at this revision

Comitter:
pferland
Date:
Tue Feb 14 20:36:21 2017 +0000
Parent:
10:1e3e3ab9c29c
Commit message:
Updated libmDot-dev to latest

Changed in this revision

libmDot-dev-mbed5.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 1e3e3ab9c29c -r 1425f2e65663 libmDot-dev-mbed5.lib
--- a/libmDot-dev-mbed5.lib	Tue Feb 14 20:33:40 2017 +0000
+++ b/libmDot-dev-mbed5.lib	Tue Feb 14 20:36:21 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/MultiTech/code/libmDot-dev-mbed5/#ae8514a3d49c
+http://developer.mbed.org/teams/MultiTech/code/libmDot-dev-mbed5/#e85c370dd05d