Table of Contents |
---|
Enable the D0 GPIO notification
...
Tip |
---|
The D0 GPIO corresponds to the |
create a flow which issues:
an HTTP PUT request
to URL http://127.0.0.1:8080/api/v1/oap/{{mote}}/digital_in/D0
with payload
Code Block { sampleCount: 1, rate: 10000, enable: 1, dataFormat: 0 }
Open the SmartMesh IP Tools Guide (
http- linear
- /docs/42453), looks
/media/en/technical-documentation/user-guides/smartmesh_ip_tools_guide.pdf), look for section "/digital_in". What does dataFormat 0 mean?
Answer 1:
Trigger D0 GPIO notifications
Connect a jumper between the
DP2
andVSUPPLY
pinspins. Make sure you receive a notification.
Move the jumper to connect the
DP2
andGND
pins. Make sure you receive a notification.You can transition the jumper between the two positions above to generate further notifications.
Warning NEVER CONNECT
VSUPPLY
ANDGND
TOGETHER!!