The GPIO_SAVE_CFG_EEPROM command saves current pins configuration settings into internal GPIO-24 adapter EEPROM memory. Each time you connect the adapter to PC it retrieves these settings from internal EEPROM memory and uses them. Use GPIO_CLR_CFG_EEPROM command to clear configuration settings saved in internal EEPROM memory.
| Byte 0 | GPIO_SAVE_CFG_EEPROM | Command ID (0x1B). |
| Byte 1 | ECHO | Echo to associate a command with the response. |
| Bytes 2..7 | Reserved | Reserved (must be 0). |
Command is an 8-byte array of the following format:
This byte contains command ID (command type). It should be set to 0x1B.
This byte is used to associate a response received from GPIO-24 adapter with a specific command. Response will contain exactly the same value in its echo byte.
These bytes are reserved for future usage and must be set to 0.
For convenience GPIO_SAVE_CFG_EEPROM_CMD structure is declared in reports.h file.
GPIO-24 adapter sends GPIO_SAVE_CFG_EEPROM response after command execution.
| Byte 0 | GPIO_SAVE_CFG_EEPROM | Response ID (0x1B). |
| Byte 1 | ECHO | Echo to associate a command with the response. |
| Byte 2 | ST | Command execution status. |
| Bytes 3..7 | Reserved | Reserved |
Response is an 8-byte array of the following format:
Response ID (response type). This byte will contain 0x1B.
This byte is used to associate a response received from GPIO-24 adapter with a specific command. Response will contain exactly the same value in its echo byte.
Status of the command execution:
GPIO_ST_SUCCESS (0x0) – The GPIO pins configuration settings have been saved.
These bytes are reserved for future usage.
For convenience GPIO_SAVE_CFG_EEPROM_RSP structure is declared in reports.h file.