Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot-mbed5 ISL29011
Homepage
TTI Downlink Commands:¶
Downlink commands will only be received and committed to device config directly after an uplink payload has been received .
Run a soft CPU reset¶
This will cause the device to reset and re-join the network.
- Command: 0x01 - resetCpu()
Change value of rain_total¶
- Command: 0x02 - rain_total = 0
During install, the bucket will often tip, causing false readings of rainfall. This command allows you to 0 the value when install is complete.
Change the amount of time between uplink packets¶
Default value is: 1min
- Command: 0x03 - uplinkInterval = 15mins
- Command: 0x04 - uplinkInterval = 30mins
- Command: 0x05 - uplinkInterval = 1hr
- Command: 0x06 - uplinkInterval = 1min (debugging mode*)
*debugging mode sends a packet every minute. This can help confirm install & signal quality. When device packets appear normal, Command: 0x03 can be sent to return the uplinkInterval back to 15mins.
Change the amount of retries a packet has¶
Default value is: 0
- Command: 0x07 - set ACK = 0 (off)
- Command: 0x08 - set ACK = 1
- Command: 0x09 - set ACK = 3
- Command: 0x0A - set ACK = 5
- Command: 0x0B - set ACK = 8 (max)
Lower values of ACK will help save battery.