7#ifndef NFC_NDEF_CH_REC_PARSER_H_
8#define NFC_NDEF_CH_REC_PARSER_H_
110 uint8_t *result_buf, uint32_t *result_buf_len);
134 uint8_t *result_buf, uint32_t *result_buf_len);
175 uint8_t *result_buf, uint32_t *result_buf_len);
int nfc_ndef_ch_cr_rec_parse(const struct nfc_ndef_record_desc *rec_desc, struct nfc_ndef_ch_cr_rec *cr_rec)
Parse an NDEF Collision Resolution Record.
bool nfc_ndef_ch_ac_rec_check(const struct nfc_ndef_record_desc *rec_desc)
Check if an NDEF Record is the Alternative Carrier Record.
bool nfc_ndef_ch_hc_rec_check(const struct nfc_ndef_record_desc *rec_desc)
Check if an NDEF Record is the Handover Carrier Record.
nfc_ndef_ch_rec_type
NFC NDEF Connection Handover Record type.
Definition: ch_rec_parser.h:27
@ NFC_NDEF_CH_REC_TYPE_HANDOVER_SELECT
Definition: ch_rec_parser.h:29
@ NFC_NDEF_CH_REC_TYPE_HANDOVER_REQUEST
Definition: ch_rec_parser.h:32
@ NFC_NDEF_CH_REC_TYPE_HANDOVER_MEDIATION
Definition: ch_rec_parser.h:38
@ NFC_NDEF_CH_REC_TYPE_HANDOVER_INITIATE
Definition: ch_rec_parser.h:35
bool nfc_ndef_ch_rec_check(const struct nfc_ndef_record_desc *rec_desc, enum nfc_ndef_ch_rec_type rec_type)
Check if an NDEF Record is the fallowing Handover Connection Record:
void nfc_ndef_ac_rec_printout(const struct nfc_ndef_ch_ac_rec *ac_rec)
Print the parsed contents of an NDEF Alternative Carrier Record.
void nfc_ndef_hc_rec_printout(const struct nfc_ndef_ch_hc_rec *hc_rec)
Print the parsed contents of an NDEF Handover Carrier Record.
bool nfc_ndef_ch_cr_rec_check(const struct nfc_ndef_record_desc *rec_desc)
Check if an NDEF Record is the Handover Collision Resolution Record.
int nfc_ndef_ch_hc_rec_parse(const struct nfc_ndef_record_desc *rec_desc, uint8_t *result_buf, uint32_t *result_buf_len)
Parse an NDEF Handover Carrier Record.
int nfc_ndef_ch_rec_parse(const struct nfc_ndef_record_desc *rec_desc, uint8_t *result_buf, uint32_t *result_buf_len)
Parse the fallowing NDEF Connection Handover Records:
void nfc_ndef_ch_rec_printout(const struct nfc_ndef_ch_rec *ch_rec)
Print the parsed contents of the fallowing Connection Handover Records:
void nfc_ndef_cr_rec_printout(const struct nfc_ndef_ch_cr_rec *cr_rec)
Print the parsed contents of an NDEF Collision Resolution Record.
int nfc_ndef_ch_ac_rec_parse(const struct nfc_ndef_record_desc *rec_desc, uint8_t *result_buf, uint32_t *result_buf_len)
Parse an NDEF Alternative Carrier Record.
Alternative Carrier record payload descriptor.
Definition: ch.h:109
Collision Resolution record payload descriptor.
Definition: ch.h:129
Handover Carrier record payload descriptor.
Definition: ch.h:39
Handover Select record payload descriptor.
Definition: ch.h:137
NDEF record descriptor.
Definition: record.h:91