7#ifndef NFC_NDEF_CH_MSG_H_
8#define NFC_NDEF_CH_MSG_H_
21#include <zephyr/types.h>
30#define NFC_NDEF_CH_MSG_MAJOR_VER CONFIG_NFC_NDEF_CH_MAJOR_VERSION
31#define NFC_NDEF_CH_MSG_MINOR_VER CONFIG_NFC_NDEF_CH_MINOR_VERSION
63 uint8_t *buf,
size_t *len);
int nfc_ndef_ch_msg_hs_create(struct nfc_ndef_msg_desc *msg, struct nfc_ndef_record_desc *hs_rec, const struct nfc_ndef_ch_msg_records *records)
Create an NFC NDEF Handover Select message.
int nfc_ndef_ch_msg_le_oob_encode(const struct nfc_ndef_le_oob_rec_payload_desc *oob, uint8_t *buf, size_t *len)
Encode an NFC NDEF LE OOB message.
int nfc_ndef_ch_msg_hr_create(struct nfc_ndef_msg_desc *msg, struct nfc_ndef_record_desc *hr_rec, const struct nfc_ndef_record_desc *cr_rec, const struct nfc_ndef_ch_msg_records *records)
Encode an NFC NDEF Handover Request message.
int nfc_ndef_ch_msg_hm_create(struct nfc_ndef_msg_desc *msg, struct nfc_ndef_record_desc *hm_rec, const struct nfc_ndef_ch_msg_records *records)
Create an NFC NDEF Handover Mediation message.
int nfc_ndef_ch_msg_hi_create(struct nfc_ndef_msg_desc *msg, struct nfc_ndef_record_desc *hi_rec, const struct nfc_ndef_ch_msg_records *records)
Create an NFC NDEF Handover Initiate message.
size_t cnt
Definition: ch_msg.h:46
const struct nfc_ndef_record_desc * ac
Definition: ch_msg.h:40
const struct nfc_ndef_record_desc * carrier
Definition: ch_msg.h:43
LE OOB record payload descriptor.
Definition: le_oob_rec.h:76
NDEF message descriptor.
Definition: msg.h:30
NDEF record descriptor.
Definition: record.h:91