|
|
This function gets current configuration and state of a single GPI Port.
- Parameters:
-
| [in] | readerHandle |
Handle to the RFID device. |
| [in] | portNumber |
Port Number of the GPI Port. |
| [out] | pGPIEnable |
Pointer to current configuration of the specified GPI Port: Enabled/Disabled. |
| [out] | pState |
Pointer to current state of the specified specified GPI port, of type GPI_PORT_STATE. |
- Returns:
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Invalid handle is provided
- RFID_API_PARAM_ERROR Invalid parameter given
- RFID_API_PARAM_OUT_OF_RANGE Parameter out of Range
- RFID_CONFIG_GET_FAILED Failed to set the configuration
- See also:
- RFID_EnableGPIPort, RFID_GetGPOState, RFID_SetGPOState
|