Enum pn532::command_code
Defined in File bits.hpp
Enum Documentation
-
enum class pn532::command_code : std::uint8_t
Supported PN532 command codes (UM0701-02 §7).
Values:
-
enumerator diagnose
Run Diagnostic commands (UM0701-02 §7.2.1)
-
enumerator get_firmware_version
Query for PN532 version and info (UM0701-02 §7.2.2)
-
enumerator get_general_status
Get PN532 and initialized tag status (UM0701-02 §7.2.3)
-
enumerator read_register
Read low level registers (UM0701-02 §7.2.4)
-
enumerator write_register
Write low level registers (UM0701-02 §7.2.5)
-
enumerator read_gpio
Get gpio state (UM0701-02 §7.2.6)
-
enumerator write_gpio
Write the GPIO status (UM0701-02 §7.2.7)
-
enumerator set_serial_baudrate
Configure serial communication baudrate (only on HSU mode) (UM0701-02 §7.2.8)
-
enumerator set_parameters
Set internal configuration parameters (UM0701-02 §7.2.9)
-
enumerator sam_configuration
Configure the sam data-flow (UM0701-02 §7.2.10)
-
enumerator power_down
Set the PN532 in deep-sleep (UM0701-02 §7.2.11)
-
enumerator rf_configuration
Configure RF parameters (UM0701-02 §7.3.1)
-
enumerator rf_regulation_test
Command usefull when doing EMI test (UM0701-02 §7.3.2)
-
enumerator in_jump_for_dep
Activate the target and setup for a DEP exchange (UM0701-02 §7.3.3)
-
enumerator in_jump_for_psl
Activate the target and setup for a PSL or DEP exchange (UM0701-02 §7.3.4)
-
enumerator in_list_passive_target
Detect all target in rage (MAX 2) in passive mode (UM0701-02 §7.3.5)
-
enumerator in_atr
Activate the target (for passive mode) (UM0701-02 §7.3.6)
-
enumerator in_psl
Change the baudrate of a TPE or ISO14443-4 target (UM0701-02 §7.3.7)
-
enumerator in_data_exchange
Start a data excange with the selected target (UM0701-02 §7.3.8)
-
enumerator in_communicate_thru
Start a low level data exchange (UM0701-02 §7.3.9)
-
enumerator in_deselect
Deselect the target, but keep configuration information in memory (UM0701-02 §7.3.10)
-
enumerator in_release
Terminate communication with the target, and delete all the memorized information (UM0701-02 §7.3.11)
-
enumerator in_select
Select the target (UM0701-02 §7.3.12)
-
enumerator in_autopoll
Poll for sepcified targets in range, and inizialize them (UM0701-02 §7.3.13)
-
enumerator tg_init_as_target
Configure the PN532 as a target (UM0701-02 §7.3.14)
-
enumerator tg_set_general_bytes
Set the general bytes to be sent on request, used in combination with tg_init_as_target command (UM0701-02 §7.3.15)
-
enumerator tg_get_data
Sends data to the initiator when operating as target (UM0701-02 §7.3.16)
-
enumerator tg_set_data
Receives data from the initiator when operating as target (UM0701-02 §7.3.17)
-
enumerator tg_set_metadata
Used to inform the initiator that the data in a DEP exchange, when operating as a target, cannot be transmitted in a single frame (UM0701-02 §7.3.18)
-
enumerator tg_get_initiator_command
Get a data packet from the initiator (UM0701-02 §7.3.19)
-
enumerator tg_response_to_initiator
Send a response packet to the initiator (UM0701-02 §7.3.20)
-
enumerator tg_get_target_status
Read the current state of the PN532 (UM0701-02 §7.3.21)
-
enumerator diagnose