template<typename Strategy>
class PJONLocal< Strategy >
Definition at line 75 of file PJONLocal.h.
|
|
| PJONLocal (uint8_t device_id) |
| |
|
void | begin () |
| |
|
uint16_t | compose_packet (const uint8_t id, uint8_t *destination, const void *source, uint16_t length, uint8_t header=PJON_NO_HEADER, uint16_t packet_id=0, uint16_t rx_port=PJON_BROADCAST) |
| |
|
uint8_t | device_id () const |
| |
|
uint8_t * | get_payload (uint8_t *buffer) |
| |
|
uint8_t | packet_overhead (uint8_t header=0) const |
| |
|
void | parse (const uint8_t *packet, PJON_Packet_Info &packet_info) const |
| |
|
uint16_t | receive (uint8_t *buffer, PJON_Packet_Info info) |
| |
|
bool | ready_to_send () |
| |
|
uint16_t | send_packet (const uint8_t *payload, uint16_t length) |
| |
|
uint16_t | send_packet (uint8_t id, uint8_t *buffer, const void *payload, uint16_t length, uint8_t header=PJON_NO_HEADER, uint16_t packet_id=0, uint16_t rx_port=PJON_BROADCAST) |
| |
|
void | send_acknowledge () |
| |
|
void | set_config_bit (bool new_state, uint8_t bit) |
| |
|
void | set_acknowledge (bool state) |
| |
|
void | set_crc_32 (bool state) |
| |
|
void | set_communication_mode (uint8_t mode) |
| |
|
void | set_default () |
| |
|
void | set_id (uint8_t id) |
| |
|
void | include_sender_info (bool state) |
| |
|
void | set_router (bool state) |
| |
|
|
Strategy | strategy |
| |
|
uint8_t | config = PJON_TX_INFO_BIT | PJON_ACK_REQ_BIT |
| |
The documentation for this class was generated from the following file: