GPI Debounce Tutorial

GPI Debounce Tutorial in RFID API-3.

The below features are supported in RFID API-3 as part of GPI Debounce.

  1. Get Debounce Time.

  2. 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.

GPI debounceTime
{
    "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.

GPI debounceTime
{
    "type": "CUSTOM",
    "radioStartConditions": {
        "type": "GPI_WITH_RESTART",
        "gpis": [
            {
                "port": 1,
                "signal": "HIGH",
                "debounceTime": 10
            }
        ]
    },
    "radioStopConditions": {
        "gpis": [
            {
                "port": 1,
                "signal": "LOW",
                "debounceTime": 10
            }
        ]
    }
}