TSM (Trusted Services Manager) Proxy States.
Synopsis:
#include <nfc/nfc_types.h>
typedef enum {
TSM_PROXY_STATE_IDLE = 0
TSM_PROXY_STATE_WAITING_FOR_CONNECTIVITY = 1
TSM_PROXY_STATE_FETCHING_COMMANDS_FROM_TSM = 2
TSM_PROXY_STATE_EXECUTING_COMMANDS = 3
TSM_PROXY_STATE_ATTEMPTING_TO_CONTACT_TSM = 4
} tsm_proxy_state_t;
Data:
- TSM_PROXY_STATE_IDLE
- The TSM proxy is idle.
- TSM_PROXY_STATE_WAITING_FOR_CONNECTIVITY
- The TSM proxy is waiting for the device to regain connectivity before reaching out to the TSM.
- TSM_PROXY_STATE_FETCHING_COMMANDS_FROM_TSM
- The TSM proxy is downloading commands from the TSM.
- TSM_PROXY_STATE_EXECUTING_COMMANDS
- The TSM proxy is executing commands from the TSM.
- TSM_PROXY_STATE_ATTEMPTING_TO_CONTACT_TSM
- The TSM proxy is attempting to contact the TSM.
Library:
libnfc (For the qcc command, use the -l nfc option to link against this library)
Description:
This enumeration defines the states the TSM proxy is in.