#include <nci_message.h>
|
| NciMessage () |
|
| NciMessage (uint8_t message_type, const std::vector< uint8_t > &payload) |
|
| NciMessage (uint8_t message_type, uint8_t gid, uint8_t oid) |
|
| NciMessage (uint8_t message_type, uint8_t gid, uint8_t oid, const std::vector< uint8_t > &payload) |
|
| NciMessage (const std::vector< uint8_t > &raw_packet) |
|
std::vector< uint8_t > | encode () |
|
void | reset () |
|
uint8_t | get_message_type () const |
|
uint8_t | get_gid () const |
|
uint8_t | get_oid () const |
|
uint8_t | get_payload_size (bool recompute=false) |
|
uint8_t | get_simple_status_response () const |
|
uint8_t | get_message_byte (uint8_t offset) const |
|
std::vector< uint8_t > & | get_message () |
|
bool | has_payload () const |
|
bool | message_type_is (uint8_t message_type) const |
|
bool | message_length_is (uint8_t message_length, bool recompute=false) |
|
bool | gid_is (uint8_t gid) const |
|
bool | oid_is (uint8_t oid) const |
|
bool | simple_status_response_is (uint8_t response) const |
|
void | set_header (uint8_t message_type, uint8_t gid, uint8_t oid) |
|
void | set_message (uint8_t message_type, const std::vector< uint8_t > &payload) |
|
void | set_message (uint8_t message_type, uint8_t gid, uint8_t oid, const std::vector< uint8_t > &payload) |
|
void | set_message_type (uint8_t message_type) |
|
void | set_gid (uint8_t gid) |
|
void | set_oid (uint8_t oid) |
|
void | set_payload (const std::vector< uint8_t > &payload) |
|
Definition at line 11 of file nci_message.h.
◆ NciMessage() [1/5]
esphome::nfc::NciMessage::NciMessage |
( |
| ) |
|
|
inline |
◆ NciMessage() [2/5]
esphome::nfc::NciMessage::NciMessage |
( |
uint8_t |
message_type, |
|
|
const std::vector< uint8_t > & |
payload |
|
) |
| |
◆ NciMessage() [3/5]
esphome::nfc::NciMessage::NciMessage |
( |
uint8_t |
message_type, |
|
|
uint8_t |
gid, |
|
|
uint8_t |
oid |
|
) |
| |
◆ NciMessage() [4/5]
esphome::nfc::NciMessage::NciMessage |
( |
uint8_t |
message_type, |
|
|
uint8_t |
gid, |
|
|
uint8_t |
oid, |
|
|
const std::vector< uint8_t > & |
payload |
|
) |
| |
◆ NciMessage() [5/5]
esphome::nfc::NciMessage::NciMessage |
( |
const std::vector< uint8_t > & |
raw_packet | ) |
|
◆ encode()
std::vector< uint8_t > esphome::nfc::NciMessage::encode |
( |
| ) |
|
◆ get_gid()
uint8_t esphome::nfc::NciMessage::get_gid |
( |
| ) |
const |
◆ get_message()
std::vector< uint8_t > & esphome::nfc::NciMessage::get_message |
( |
| ) |
|
◆ get_message_byte()
uint8_t esphome::nfc::NciMessage::get_message_byte |
( |
uint8_t |
offset | ) |
const |
◆ get_message_type()
uint8_t esphome::nfc::NciMessage::get_message_type |
( |
| ) |
const |
◆ get_oid()
uint8_t esphome::nfc::NciMessage::get_oid |
( |
| ) |
const |
◆ get_payload_size()
uint8_t esphome::nfc::NciMessage::get_payload_size |
( |
bool |
recompute = false | ) |
|
◆ get_simple_status_response()
uint8_t esphome::nfc::NciMessage::get_simple_status_response |
( |
| ) |
const |
◆ gid_is()
bool esphome::nfc::NciMessage::gid_is |
( |
uint8_t |
gid | ) |
const |
◆ has_payload()
bool esphome::nfc::NciMessage::has_payload |
( |
| ) |
const |
◆ message_length_is()
bool esphome::nfc::NciMessage::message_length_is |
( |
uint8_t |
message_length, |
|
|
bool |
recompute = false |
|
) |
| |
◆ message_type_is()
bool esphome::nfc::NciMessage::message_type_is |
( |
uint8_t |
message_type | ) |
const |
◆ oid_is()
bool esphome::nfc::NciMessage::oid_is |
( |
uint8_t |
oid | ) |
const |
◆ reset()
void esphome::nfc::NciMessage::reset |
( |
| ) |
|
◆ set_gid()
void esphome::nfc::NciMessage::set_gid |
( |
uint8_t |
gid | ) |
|
◆ set_header()
void esphome::nfc::NciMessage::set_header |
( |
uint8_t |
message_type, |
|
|
uint8_t |
gid, |
|
|
uint8_t |
oid |
|
) |
| |
◆ set_message() [1/2]
void esphome::nfc::NciMessage::set_message |
( |
uint8_t |
message_type, |
|
|
const std::vector< uint8_t > & |
payload |
|
) |
| |
◆ set_message() [2/2]
void esphome::nfc::NciMessage::set_message |
( |
uint8_t |
message_type, |
|
|
uint8_t |
gid, |
|
|
uint8_t |
oid, |
|
|
const std::vector< uint8_t > & |
payload |
|
) |
| |
◆ set_message_type()
void esphome::nfc::NciMessage::set_message_type |
( |
uint8_t |
message_type | ) |
|
◆ set_oid()
void esphome::nfc::NciMessage::set_oid |
( |
uint8_t |
oid | ) |
|
◆ set_payload()
void esphome::nfc::NciMessage::set_payload |
( |
const std::vector< uint8_t > & |
payload | ) |
|
◆ simple_status_response_is()
bool esphome::nfc::NciMessage::simple_status_response_is |
( |
uint8_t |
response | ) |
const |
◆ nci_message_
std::vector<uint8_t> esphome::nfc::NciMessage::nci_message_ {0, 0, 0} |
|
protected |
The documentation for this class was generated from the following files: