Demonstration TTN OTAA node

Dependencies:   BME280 DS1820 libmDot mbed-rtos mbed

This is an example application for the MultiTech mDot and connects to The Things Network using Over The Air Activation (OTAA). It sends data from a Dallas Semiconductors DS18B20 OneWire temperature sensor.

Register a device and generate a random AppKey for the currently used application Id: (You need to use your own device IDs, the ones shown here are examples only)

./ttnctl devices register 0080000000000000 INFO Generating random AppKey... INFO Registered device AppKey=000102030405060708090A0B0C0D0E0F DevEUI=0080000000000000

or to specify the same AppKey for a new device or to reregister the same device again:

./ttnctl devices register 0080000000000000 000102030405060708090A0B0C0D0E0F

./ttnctl devices info 0080000000000000 Dynamic device:

AppEUI: 70B3D50000000000 {0x70, 0xB3, 0xD5, 0x00, 0x00, 0x00, 0x00, 0x00}

DevEUI: 0080000000000000 {0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

AppKey: 000102030405060708090A0B0C0D0E0F {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F}

Copy the AppEUI and AppKey values provided in hex array notation above to the AppEUI and AppKey parameters below.

Changes

RevisionDateWhoCommit message
15:8a0ebf59b8bb 2016-05-11 SomeRandomBloke updated comments default tip
14:231361a83894 2016-05-11 SomeRandomBloke Testing DS18B20
13:5369ba22389a 2016-05-11 SomeRandomBloke testing DS18B20
12:e82913ee9c61 2015-11-14 SomeRandomBloke Example released
11:38ce10209eff 2015-11-14 SomeRandomBloke tweeks
10:717a3d909c6b 2015-11-14 SomeRandomBloke Release version
9:086351e54b57 2015-11-14 SomeRandomBloke Preparation for release
8:8070e9d660e4 2015-11-10 SomeRandomBloke increased time interval to 10 mins
7:2a704d1a30e1 2015-10-28 SomeRandomBloke Removed ack
6:0a7760eeaba9 2015-10-21 SomeRandomBloke Updates to Node address values
5:48eb9245a914 2015-10-20 SomeRandomBloke First checkin
4:f649ab1b61d1 2015-10-15 SomeRandomBloke sleep updates
3:367aa95f9771 2015-09-22 SomeRandomBloke Code clean up and add reset config option.
2:9db840d12557 2015-09-21 SomeRandomBloke updates
1:45cec6aea002 2015-09-03 SomeRandomBloke added deep sleep
0:5a0b43f3b143 2015-08-23 SomeRandomBloke First commit