GPI Debounce Tutorial¶
GPI Debounce Tutorial in RFID API-3.
The below features are supported in RFID API-3 as part of GPI Debounce.
Get Debounce Time.
Set Debounce Time.
- Get Debounce Time
We can use the below payload in IoT Connector operating modes to get the current GPI debounce time. It will get reported only if its not default, Which is 0.
{ "command": "get_mode", "command_id": "starFishTnVTest", "payload": {} }
- Set Debounce Time
We can use the below payload in IoT Connector operating modes to set the GPI debounce time.
{ "type": "CUSTOM", "radioStartConditions": { "type": "GPI_WITH_RESTART", "gpis": [ { "port": 1, "signal": "HIGH", "debounceTime": 10 } ] }, "radioStopConditions": { "gpis": [ { "port": 1, "signal": "LOW", "debounceTime": 10 } ] } }