Bridge 1.1 API - GPIO Commands

Set Voltage

See Set Bus Voltage.

GPIO Configuration

  • Command Request:

    {
      "transaction_id": "1",
      "command": "gpio_config_pin",
      "params": {
        "pinNumber": "<1..6>",
        "functionality": "<DIN|DOUT>"
      }
    }
  • Responses:

    • Immediate Promise Response:

      {
        "transaction_id": "1",
        "status": "success",
        "type": "command_response",
        "is_promise": true,
        "data": {
          "command": "gpio_config_pin"
        }
      }
    • Final Response:

      {
        "transaction_id": "1",
        "status": "success",
        "type": "command_response",
        "is_promise": false,
        "data": {
          "is_response_to": "gpio_config_pin",
          "status": "success"
        }
      }

GPIO Read

  • Command Request:

  • Responses:

    • Immediate Promise Response:

    • Final Response:

GPIO Write

  • Command Request:

  • Responses:

    • Immediate Promise Response:

    • Final Response:

Configure GPIO Interruptions

  • Command Request:

  • Responses:

    • Immediate Promise Response:

    • Final Response:

GPIO Interruption Notification Message

Last updated