Reader Communication Protocol Developer's Guide
Set GPO
 
This command has two formats for setting gpo and getting gpo status. Different reader types have different gpo numbers.

Command Attribute

Command Code Bootloader Command App Firmware Command
0x96 No Yes

Host to Reader

Set Gpo

Format of Data Field
Field Byte Length Description
Gpo Number and Status pairs M*2 bytes M Gpo number and status pairs, each pair is 2 bytes(the first byte is the GPO number, the second byte is the status)
 
Get Gpo Status

There is not Data Field.

Reader to Host

When getting gpo status the Format of Data Field in reply is as follows.
 
Format of Data Field
Field Byte Length Description
Status of Gpo pins N bytes The status of all the gpo of reader in numerical order.

Example

Example 1

Set Gpo
 
Host to Reader
FF 04 96 01 01 02 00 2F 68
Header Data Length Command Code Output #1 Status of Output #1 Output #2 Status of Output #2 CRC
 
Example 2

Get Gpo Status
 
Reader to Host
FF 03 96 00 00 01 00 01 EE 3A
Header Data Length Command Code Status Code Status of Output #1 Status of Output #2 Status of Output #3 CRC