Releases: Avnet/azure-iot-mbed-client
9Jan2019 Update
This update brings the release up to Mbed OS v5.11 and modifies how the context for the PDP is set. Now, the BG96 driver always uses Conext ID 1 to hold the active APN. If this Context ID was previously set, it will be reset to the APn specified in the mbed_app.json file.
TELUS LTE-M IoT Starter-Kit Reference with GPS functionality
This is the second release of of Azure IoT Mbed client reference software for the TELUS LTE-M IoT Starter Kit which is sold by Avnet. It is intended as reference software for a developer that is implementing an end-solution using both the Mbed O/S and Microsoft Azure cloud services.
This release adds GPS position reporting to the telemetry data that is sent to Azure. When starting, the program reports as follows:
****
** ** Azure IoTClient Example, version 1.1
** ** by AVNET
** ==== **
The example program interacts with Azure IoTHub sending
sensor data and receiving messeages (using ARM Mbed OS v5.x)
->using IKS01A2 Environmental Sensor
->using HTTPS Transport Protocol
[EasyConnect] Using BG96
[EasyConnect] Connected to Network successfully
[EasyConnect] MAC address 19:95:91:41:02:72:20
[EasyConnect] IP address 10.192.245.175
[ Platform ] BG96 SW Revision: BG96 Rev:BG96MAR02A07M1G
[ Platform ] Time set to Wed Dec 12 15:03:32 2018
[ start GPS ] Successful.
[get GPS loc] Latitude = 33.977 Longitude = -78.501 date=121218, time=150405
(0001)Send IoTHubClient Message@15:04:04 - OK. [RSSI=18]
(0002)Send IoTHubClient Message@15:04:14 - OK. [RSSI=18]
(0003)Send IoTHubClient Message@15:04:20 - OK. [RSSI=18]
...
The telemetry data format that is sent:
event:
origin: TelusClientExmple
payload: '{
"ObjectName":"Avnet NUCLEO-L496ZG+BG96 Azure IoTClient",
"ObjectType":"SensorData",
"Version":"1.1",
"ReportingDevice":"STL496ZG-BG96",
"Latitude":"33.978",
"Longitude":"-78.501",
"GPSTime":"150629",
"GPSDate":"121218",
"Temperature":"23.30",
"Humidity":"39",
"Pressure":"1022",
"Tilt":"2",
"ButtonPress":"0",
"TOD":"Wed 2018-12-12 15:06:28 UTC"
}'
NOTE:
- The reported element GPSTime format is: HHMMSS (in UTC)
- The reported element GPSDate format is: MMDDYY
An overview of using this software is documented on the Element14 Website at https://www.element14.com/community/blogs/JimFlynn/2018/09/25/using-the-mbed-os-to-build-an-azure-iot-client
This release can be obtained and built using the following commands:
- Obtain Sources: git clone --branch v1.1 https://github.com/Avnet/azure-iot-mbed-client
- Go to sources directory and deploy: cd azure-iot-mbed-client && mbed deploy
- Build the program: mbed compile -m nucleo_l496zg -t gcc_arm --profile toolchain_debug.json
TELUS LTE-M IoT Starter-Kit Reference
This is the initial release of of Azure IoT Mbed client reference software for the TELUS LTE-M IoT Starter Kit which is sold by Avnet. It is intended as reference software for a developer that is implementing an end-solution using both the Mbed O/S and Microsoft Azure cloud services.
An overview of using this software is documented on the Element14 Website
This release can be obtained and built using the following commands:
- Obtain Sources: git clone --branch v1.0 https://github.com/Avnet/azure-iot-mbed-client
- Go to sources directory and deploy: cd azure-iot-mbed-client && mbed deploy
- Build the program: mbed compile -m nucleo_l496zg -t gcc_arm --profile toolchain_debug.json
This release can be obtained using mbed: