modules/woz_aliro_stack/src/protocol/nfc_select.h
openaliro/openaliro
Module

nfc_select.h

modules/woz_aliro_stack/src/protocol/nfc_select.h1 documented symbols

Overview

@file nfc_select.h Parsed result of an NFC SELECT command for the Aliro applet: negotiated protocol version, maximum command and response data lengths (from TLV or default), extended-length support, and the raw proprietary information TLV (A5 tag) for further parsing.

used by nfc_select.c session.cpp

API

Cstruct woz_aliro_select_response

modules/woz_aliro_stack/src/protocol/nfc_select.h:41

Parsed NFC SELECT response: negotiated protocol version, max command/response data lengths (from 7F66 TLV or defaults), extended-length support flag, and the complete proprietary information TLV (A5 tag). The TLV view is valid only as long as the input response buffer is valid.

Cenum woz_aliro_select_phase

modules/woz_aliro_stack/src/protocol/nfc_select.h:21

Cenum woz_aliro_select_result

modules/woz_aliro_stack/src/protocol/nfc_select.h:26

Fint woz_aliro_build_select_command(enum woz_aliro_select_phase phase, uint8_t out[WOZ_ALIRO_SELECT_COMMAND_SIZE])

modules/woz_aliro_stack/src/protocol/nfc_select.h:57

Fint woz_aliro_parse_select_response(const uint8_t *response, size_t response_length, enum woz_aliro_select_phase phase, uint16_t *selected_protocol_version)

modules/woz_aliro_stack/src/protocol/nfc_select.h:61

Fint woz_aliro_parse_select_response_ex(const uint8_t *response, size_t response_length, enum woz_aliro_select_phase phase, struct woz_aliro_select_response *result)

modules/woz_aliro_stack/src/protocol/nfc_select.h:65

Fint woz_aliro_parse_proprietary_information(const uint8_t *encoded, size_t encoded_length, enum woz_aliro_select_phase phase, struct woz_aliro_select_response *result)

modules/woz_aliro_stack/src/protocol/nfc_select.h:71