From a2d672d8c6cd998d88d6d7a4dc81719ee06bc513 Mon Sep 17 00:00:00 2001 From: Joey Hiller <1965053+jthiller@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:02:54 -0700 Subject: [PATCH] practice exercises --- docs/network-iot/learn/build-a-device.mdx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/network-iot/learn/build-a-device.mdx b/docs/network-iot/learn/build-a-device.mdx index 4d63531fd..86cd616b1 100644 --- a/docs/network-iot/learn/build-a-device.mdx +++ b/docs/network-iot/learn/build-a-device.mdx @@ -73,5 +73,18 @@ If uplinks are shown in the logger above, the device is successfully sending dat Network! With the payloads received, the next step would be to send them to an application. LNSs typically -support a number of integrations like HTTP, MQTT, or bespoke integrations with platforms like AWS -IoT or Azure IoT. +support several integrations like HTTP, MQTT, or bespoke integrations with platforms like AWS IoT or +Azure IoT. + +## Practice + +Now that data is being sent to the Helium Network, experiment with the device. + +1. Try changing the data being sent by the device. How would you send the payload, "Hello, World!"? + The current payload is being sent in hexadecimal format. Tools like + [asciitohex.com](https://www.asciitohex.com/) can help convert data types. +1. LoRaWAN provides the 'port' field which helps separate data types. For instance, multiple sensors + can run on the same device under different ports or status updates like battery level can be sent + on a different port than sensor data. +1. The device is currently sending data every 30 seconds. Try changing the interval to 10 seconds. + How would this affect the battery life of the device?