Mbed OS Reference
Loading...
Searching...
No Matches

Modules

 ACore
 
 NDEF
 
 Error Codes
 
 Scheduler
 
 Transport
 
 Nfc-protocols
 

Data Structures

class  Mime
 Represent a mime object. More...
 
class  MimeParser
 Parse a Mime payload. More...
 
class  SimpleMessageParser
 Basic message parser that aggregates URIParser, TextParser and MimeParser. More...
 
class  Text
 Represent the well known type text. More...
 
class  TextParser
 Parse a Text. More...
 
class  URI
 Model the well known type URI. More...
 
class  URIParser
 Parser of a URI. More...
 
class  MessageBuilder
 Construct a NDEF Message. More...
 
class  MessageParser
 Event driven NDEF Message parser. More...
 
struct  Header
 Set of constants of a record header. More...
 
struct  RecordType
 Encode a record type. More...
 
struct  Record
 Represent a record. More...
 
struct  RecordParser
 Parse a record. More...
 
struct  GenericRecordParser< ParserImplementation, ParsingResult >
 GenericRecordParser. More...
 
struct  RecordParserChain
 Record parser chain. More...
 
class  NFCController
 This class represents a NFC Controller. More...
 
class  NFCControllerDriver
 The abstraction for a NFC controller driver. More...
 
class  NFCEEPROM
 The NFC EEPROM class represents a NFC target device connected using a wired link (I2C, SPI, etc). More...
 
class  NFCEEPROMDriver
 The abstraction for a NFC EEPROM driver. More...
 
class  NFCNDEFCapable
 The base class for all endpoints that can support NDEF content. More...
 
class  NFCRemoteEndpoint
 This is the base class for all remote endpoints (initiators and targets) addressable over the air interface. More...
 
class  NFCRemoteInitiator
 This class represents a remote NFC initiator (the local controller being in target mode). More...
 
class  NFCTarget
 This class represents a NFC target (either a remote target when the local controller in in initiator mode, or a target connected through a wired connection). More...
 
class  Type4RemoteInitiator
 This class is an implementation of the Type 4 tag application. More...
 

Typedefs

typedef Span< const uint8_t > RecordPayload
 Definition of a Record payload. More...
 
typedef Span< const uint8_t > RecordID
 Definition of a Record IR. More...
 

Functions

template<size_t N>
Span< const uint8_t, N - 1 > span_from_cstr (const char(&cstr)[N])
 Convert a C-string into a Span<const uint8_t>. More...
 
Span< const uint8_t > span_from_cstr (const char *cstr)
 Convert a C-string into a Span<const uint8_t>. More...
 

Detailed Description

Typedef Documentation

◆ RecordPayload

typedef Span<const uint8_t> RecordPayload

Definition of a Record payload.

Note
A payload can be empty.

Definition at line 137 of file Record.h.

◆ RecordID

typedef Span<const uint8_t> RecordID

Definition of a Record IR.

Note
ID's are optional and therefore it can be empty.

Definition at line 144 of file Record.h.

Function Documentation

◆ span_from_cstr() [1/2]

Span< const uint8_t, N - 1 > span_from_cstr ( const char(&)  cstr[N])

Convert a C-string into a Span<const uint8_t>.

Note
The NULL charactere is not present in the resulting object.
Parameters
cstrThe cstr to convert into a Span.
Returns
A Span that views cstr but doesn't include the NULL terminator character.

Definition at line 44 of file util.h.

◆ span_from_cstr() [2/2]

Span< const uint8_t > span_from_cstr ( const char *  cstr)

Convert a C-string into a Span<const uint8_t>.

Note
The NULL charactere is not present in the resulting object.
Parameters
cstrThe cstr to convert into a Span.
Returns
A Span that views cstr but doesn't include the NULL terminator character.