This program connects to the The Things Network backend in OTAA Mode. It logs sensor values from a BME 280 to the backend. Tried adding support for Grove GPS using SerialGPS library but it is not working - conflicting with mbed-rtos, so it commented. Deep Sleep for mDot implemented BUT avoiding reprogramming of the mDot config is NOT working.

Dependencies:   BME280 SerialGPS libmDot mbed-rtos mbed

Changes

RevisionDateWhoCommit message
13:22e11a02c7a3 2016-07-13 AshuJoshi Stable release -onnect to the The Things Network in OTAA mode.Make sure to program your specific keys into LoRa.h - from TTN Accnt Dashboard; The program also supports reading a BME280 sensor and logging.; Serial GPS is NOT working. default tip
12:d603cbb3597c 2016-07-13 AshuJoshi Dummy LoRa.h - replace with your values
11:3481e24747e2 2016-07-13 AshuJoshi Stable version works with local and remote TTN
10:8071e1ae92ac 2016-07-09 AshuJoshi Cleanup from last version. Created header file and move LoRa parameters. Setup framework to check if config is saved waking out of deep sleep - it is NOT working. Logic not working, is setting up config everytime it comes out of deepsleep.
9:9fb52c079a54 2016-07-08 root@developer-sjc-cyan-compiler.local.mbed.org Added tag Log4SensorsToTTN for changeset c17b68b03791
8:c17b68b03791 2016-07-08 AshuJoshi Sending data to GW/TTN working, sending sensor data from BME280 and the Light Sensor Log4SensorsToTTN
7:9e2454b0318a 2016-07-08 AshuJoshi Now stable - can join the LoRa network in OTAA mode.
6:35f934e83c74 2016-07-08 AshuJoshi LoRa Joining Network was getting stuck - not finishing up. Looked at mDot-LoRa-TTN - and matched the library versions of mbed and mbed-rtos
5:4bc6ba66f28e 2016-07-07 AshuJoshi Added code to configure the network for LoRa / TTN
4:97f9ad3f2566 2016-07-07 AshuJoshi Had added SerialGPS, removed it to make it stable again.
3:5c2bcba214b5 2016-07-04 AshuJoshi Added support to print mDot Config
2:866a72c3c3bf 2016-07-04 AshuJoshi Added mDot support - logging, init, and sleep. Minor enhancements to BME280 - formatted output as strings.
1:36e336869699 2016-07-03 AshuJoshi Added support for the Grove BME280 based Triple Sensor - Pressure, Humidity and Temperature
0:3ec6a7645098 2016-07-03 AshuJoshi Basic Hello World on mDot UDK