@@ -1848,9 +1848,6 @@ static data_frame_tx_t *cmd_processor_hf14a_sniff(uint16_t cmd, uint16_t status,
18481848 return data_frame_make (cmd , STATUS_SUCCESS , m_sniff_buf_len , m_sniff_buf );
18491849}
18501850
1851- #endif
1852-
1853-
18541851/* ========================================================================
18551852 * HF14A-4 ISO14443-4 T=CL emulation commands (6000-range)
18561853 * ======================================================================== */
@@ -1924,7 +1921,7 @@ static data_frame_tx_t *cmd_processor_hf14a_4_static_resp(uint16_t cmd, uint16_t
19241921 nfc_tag_14a_4_add_static_response (& data [1 ], cmd_len , & data [3 + cmd_len ], (uint8_t )resp_len );
19251922 return data_frame_make (cmd , STATUS_SUCCESS , 0 , NULL );
19261923}
1927- #if defined( PROJECT_CHAMELEON_ULTRA )
1924+
19281925/**
19291926 * HF14A scan keeping field alive after completion — identical to hf14a_scan
19301927 * but registered without after_hf_reader_run so the field stays on and the
@@ -2078,7 +2075,6 @@ static data_frame_tx_t *cmd_processor_hf14a_4_reader_apdu(uint16_t cmd, uint16_t
20782075 * Returns STATUS_HF_TAG_OK with packed data on success (partial data if
20792076 * some APDUs fail — num_apdus reflects how many completed).
20802077 */
2081- #if defined(PROJECT_CHAMELEON_ULTRA )
20822078static data_frame_tx_t * cmd_processor_hf14a_4_emv_scan (uint16_t cmd , uint16_t status , uint16_t length , uint8_t * data ) {
20832079 static uint8_t out [NETDATA_MAX_DATA_LENGTH ];
20842080 uint16_t out_len = 0 ;
@@ -2244,14 +2240,13 @@ static data_frame_tx_t *cmd_processor_hf14a_4_emv_scan(uint16_t cmd, uint16_t st
22442240 /* Return HF_TAG_OK even with 0 APDUs so Python can see tag info */
22452241 return data_frame_make (cmd , STATUS_HF_TAG_OK , out_len , out );
22462242}
2247- #endif
22482243
22492244static data_frame_tx_t * cmd_processor_hf14a_4_debug_counters (uint16_t cmd , uint16_t status , uint16_t length , uint8_t * data ) {
22502245 uint8_t buf [4 ];
22512246 nfc_tag_14a_4_get_debug_counters (& buf [0 ], & buf [1 ], & buf [2 ], & buf [3 ]);
22522247 return data_frame_make (cmd , STATUS_SUCCESS , 4 , buf );
22532248}
2254-
2249+ #endif
22552250static cmd_data_map_t m_data_cmd_map [] = {
22562251 { DATA_CMD_GET_APP_VERSION , NULL , cmd_processor_get_app_version , NULL },
22572252 { DATA_CMD_CHANGE_DEVICE_MODE , NULL , cmd_processor_change_device_mode , NULL },
0 commit comments