# Zebra RFID GPIO

This action is use to manage the General Purpose Input/Output ports.

Action available for the following operating systems:

![](/files/-McsYNWc88h_Sm8kJQcc)

### Parameters

* **Operation Type** *- **Set GPI State*** - Allow to enable or disable a general purpose input port (GPI).
  * **Port Number** *\<numeric>* - The input port number to set the state.
  * **Enabled** *\<string*> - If the speciifyed input port is to be enabled or disabled.<br>
* **Operation Type** *- **Get GPI State*** - Allow to determine if a general purpose input port (GPI) is enabled or disabled and its current state (low/high).
  * **Port Number** *\<numeric>* - The input port number to set the state.
  * **Target Enabled** *\<numeric>* - Will get 1 if this port is currently enabled and 0 if it is disabled.
  * **Target State***\<numeric>* - Will get 1 if this port is currenytly high (true) and 0 if it is low (false).<br>
* **Operation Type** *- **Get GPI Event Info*** - This should be used inside the event "RFID GPI State" and is triggered when an enabled GPI port state changes from low to high or vice-versa.
  * **Target Port Number** *\<numeric>* - The input port number that triggered this event due to a state change.
  * **Target State** *\<numeric>* - The new state of the GPI port.<br>
* **Operation Type** *- **Set GPO State*** - This allows to change the sate of a general purpose output port (GPO) to high (true) or low (false).
  * **Port Number** *\<numeric>* - The input port number to set the state.
  * **State** *\<numeric>* - The new state for the output port o-Low(false) or 1-High(true).<br>
* **Operation Type** *- **Get GPO State*** - This allows to get the current sate of a general purpose output port (GPO).
  * **Port Number** *\<numeric>* - The output port number to get the state.
  * **State** *\<numeric>* - This will get the current state of the output port to 0 if low(false) or 1 if high(true).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-rfid/zebra-rfid-gpio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
