Mbed OS Reference
Loading...
Searching...
No Matches
nfc_errors.h File Reference

Go to the source code of this file.

Error codes

#define NFC_OK   0
 No error. More...
 
#define NFC_ERR_UNKNOWN   1
 Unknown error. More...
 
#define NFC_ERR_LENGTH   2
 Length of parameter is wrong. More...
 
#define NFC_ERR_NOT_FOUND   3
 Could not find item. More...
 
#define NFC_ERR_UNSUPPORTED   4
 This action is not supported. More...
 
#define NFC_ERR_PARAMS   5
 These parameters are not correct. More...
 
#define NFC_ERR_BUFFER_TOO_SMALL   6
 The buffer is too small to store all data (buffer overflow) More...
 
#define NFC_ERR_TIMEOUT   7
 Timeout. More...
 
#define NFC_ERR_CRC   8
 Checksum does not match. More...
 
#define NFC_ERR_NOPEER   9
 No target/initiator in vicinity. More...
 
#define NFC_ERR_PARITY   10
 Parity error. More...
 
#define NFC_ERR_FIELD   11
 No RF field detected (or RF field lost) More...
 
#define NFC_ERR_COLLISION   12
 Collision detected. More...
 
#define NFC_ERR_WRONG_COMM   13
 Communication error. More...
 
#define NFC_ERR_PROTOCOL   14
 Protocol is not conformant. More...
 
#define NFC_ERR_BUSY   15
 Resource is busy. More...
 
#define NFC_ERR_CONTROLLER   16
 Controller failure. More...
 
#define NFC_ERR_HALTED   17
 Target has been halted. More...
 
#define NFC_ERR_MAC   18
 MAC does not match. More...
 
#define NFC_ERR_UNDERFLOW   19
 Could not send data in time. More...
 
#define NFC_ERR_DISCONNECTED   20
 Link has disconnected. More...
 
#define NFC_ERR_ABORTED   21
 Command was aborted. More...
 
typedef int nfc_err_t
 Type for NFC errors. More...
 

Detailed Description

Author
Donatien Garnier

NFC Error codes

Definition in file nfc_errors.h.