template<class A, class B, class RouterClass = PJONSwitch>
class PJONVirtualBusRouter2< A, B, RouterClass >
Definition at line 247 of file PJONVirtualBusRouter.h.
|
| PJONVirtualBusRouter2 (uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
PJONAny & | get_bus (const uint8_t ix) |
|
A & | get_strategy_0 () |
|
B & | get_strategy_1 () |
|
| PJONVirtualBusRouter (uint8_t bus_count, PJONAny *const *buses, uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
void | set_virtual_bus (uint8_t first_bus) |
|
| PJONSwitch (uint8_t bus_count, PJONAny *const bus_list[], uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
| PJONSimpleSwitch (uint8_t bus_count, PJON< Any > *const buses[], uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
| PJONSimpleSwitch (PJON< Any > &bus0, PJON< Any > &bus1, uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
| PJONSimpleSwitch (PJON< Any > &bus0, PJON< Any > &bus1, PJON< Any > &bus2, uint8_t default_gateway=PJON_NOT_ASSIGNED) |
|
void | begin () |
|
void | loop () |
|
void | connect_buses (uint8_t bus_count_in, PJON< Any > *const buses_in[], uint8_t default_gateway_in=PJON_NOT_ASSIGNED) |
|
uint8_t | get_callback_bus () const |
|
PJON< Any > & | get_bus (const uint8_t ix) |
|
|
static void | receiver_function (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
|
static void | error_function (uint8_t code, uint16_t data, void *custom_pointer) |
|
void | init_vbus () |
|
uint8_t | find_vbus_with_device (const uint8_t *bus_id, const uint8_t device_id) |
|
bool | is_vbus (const uint8_t bus_id[]) |
|
void | register_device_on_vbus (const uint8_t device_id, const uint8_t attached_bus) |
|
virtual void | send_packet (const uint8_t *payload, const uint16_t length, const uint8_t receiver_bus, const uint8_t sender_bus, bool &ack_sent, const PJON_Packet_Info &packet_info) |
|
void | handle_send_error (uint8_t code, uint8_t packet) |
|
virtual void | dynamic_receiver_function (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
|
virtual void | dynamic_error_function (uint8_t code, uint16_t data) |
|
void | connect (uint8_t bus_count_in, PJON< Any > *const buses_in[], uint8_t default_gateway_in, void *custom_pointer, PJON_Receiver receiver, PJON_Error error) |
|
uint8_t | find_attached_bus_with_id (const uint8_t *bus_id, const uint8_t, uint8_t &start_bus) |
|
void | send_packet (const uint8_t *payload, const uint16_t length, const uint8_t receiver_bus, const uint8_t sender_bus, bool &ack_sent, const PJON_Packet_Info &packet_info) |
|
void | forward_packet (const uint8_t *payload, const uint16_t length, const uint8_t receiver_bus, const uint8_t sender_bus, bool &ack_sent, const PJON_Packet_Info &packet_info) |
|
uint8_t | find_bus_with_id (const uint8_t bus_id[], const uint8_t device_id, uint8_t &start_bus) |
|
void | dynamic_receiver_function (uint8_t *payload, uint16_t length, const PJON_Packet_Info &packet_info) |
|
void | dynamic_error_function (uint8_t code, uint16_t data) |
|
uint8_t | virtual_bus |
|
uint8_t | device_via_attached_bus [PJON_VIRTUALBUS_MAX_DEVICES] |
|
bool | unknown_device_location |
|
uint8_t | bus_count |
|
uint8_t | default_gateway |
|
uint8_t | current_bus |
|
PJON< Any > * | buses [PJON_ROUTER_MAX_BUSES] |
|