nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
base.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NFC_TNEP_BASE_H_
8#define NFC_TNEP_BASE_H_
9
17#include <stddef.h>
18#include <nfc/ndef/msg.h>
19#include <nfc/ndef/tnep_rec.h>
20
24#define NFC_TNEP_VERSION 0x10
25#define NFC_TNEP_NDEF_NLEN_SIZE 2
26
31
34};
35
40
43
46
49};
50
55#endif /* NFC_TNEP_BASE_H_ */
nfc_tnep_comm_mode
Service communication modes.
Definition: base.h:28
@ NFC_TNEP_COMM_MODE_SINGLE_RESPONSE
Definition: base.h:30
@ NFC_TNEP_COMM_MODE_SERVICE_SPECYFIC
Definition: base.h:33
nfc_tnep_status_value
Service status - payload in TNEP Status Record.
Definition: base.h:37
@ NFC_TNEP_STATUS_PROTOCOL_ERROR
Definition: base.h:42
@ NFC_TNEP_STATUS_SERVICE_ERROR_END
Definition: base.h:48
@ NFC_TNEP_STATUS_SUCCESS
Definition: base.h:39
@ NFC_TNEP_STATUS_SERVICE_ERROR_BEGIN
Definition: base.h:45