Service States.
Synopsis:
#include <nfc/nfc_types.h>
typedef enum {
SE_SERVICE_STATE_NOT_INSTALLED = 0
SE_SERVICE_STATE_TOKEN_GENERATED = 1
SE_SERVICE_STATE_TOKEN_SENT = 2
SE_SERVICE_STATE_INSTALLING = 3
SE_SERVICE_STATE_INSTALLED = 4
SE_SERVICE_STATE_PERSONALIZED = 5
SE_SERVICE_STATE_FAILED = 6
SE_SERVICE_STATE_BLOCKED = 7
SE_SERVICE_STATE_PENDING_DELETION = 8
SE_SERVICE_STATE_DELETING = 9
} se_service_state_t;
Data:
- SE_SERVICE_STATE_NOT_INSTALLED
- The service is not installed.
- SE_SERVICE_STATE_TOKEN_GENERATED
- A valid token for this service has been generated.
- SE_SERVICE_STATE_TOKEN_SENT
- A valid token for this service has been generated and sent to the service-provider's backend.
Once the service-provider's backend has successfully forwarded the installation attempt to the RIM TSM, installation will start.
- SE_SERVICE_STATE_INSTALLING
- The service is in the process of being installed.
- SE_SERVICE_STATE_INSTALLED
- The service is installed.
- SE_SERVICE_STATE_PERSONALIZED
- The service is installed and personalized.
- SE_SERVICE_STATE_FAILED
- The service failed to install.
- SE_SERVICE_STATE_BLOCKED
- Reserved for future use.
- SE_SERVICE_STATE_PENDING_DELETION
- The service is marked for deletion, but deletion has not started yet.
- SE_SERVICE_STATE_DELETING
- The service is in the process of being deleted.
Library:
libnfc (For the qcc command, use the -l nfc option to link against this library)
Description:
This enumeration defines the valid states for a service installed on the secure element.