26 RouterObject(
Memory& memory, uint32_t staticTableAdr = 0, uint32_t staticTableSize = 0);
39 const uint8_t*
restore(
const uint8_t* buffer)
override;
46 void functionRouteTableControl(
bool isCommand, uint8_t*
data, uint8_t length, uint8_t* resultData, uint8_t& resultLength);
47 void functionRfEnableSbc(
bool isCommand, uint8_t*
data, uint8_t length, uint8_t* resultData, uint8_t& resultLength);
48 void functionIpEnableSbc(
bool isCommand, uint8_t*
data, uint8_t length, uint8_t* resultData, uint8_t& resultLength);
50 void commandClearSetRoutingTable(
bool bitIsSet);
51 bool statusClearSetRoutingTable(
bool bitIsSet);
52 void commandClearSetGroupAddress(uint16_t startAddress, uint16_t endAddress,
bool bitIsSet);
53 bool statusClearSetGroupAddress(uint16_t startAddress, uint16_t endAddress,
bool bitIsSet);
55 bool _rfSbcRoutingEnabled =
false;
56 bool _ipSbcRoutingEnabled =
false;
void masterReset(EraseCode eraseCode, uint8_t channel) override
void beforeStateChange(LoadState &newState) override
This method is called before the interface object enters a new LoadState.
bool isGroupAddressInFilterTable(uint16_t groupAddress)
bool isRfSbcRoutingEnabled()
void initialize1x(DptMedium mediumType, uint16_t maxApduSize)
const uint8_t * restore(const uint8_t *buffer) override
This method is called when the object should restore its state from the buffer.
RouterObject(Memory &memory, uint32_t staticTableAdr=0, uint32_t staticTableSize=0)
bool isIpSbcRoutingEnabled()
void initialize20(uint8_t objIndex, DptMedium mediumType, RouterObjectType rtType, uint16_t maxApduSize)
void initialize(CouplerModel model, uint8_t objIndex, DptMedium mediumType, RouterObjectType rtType, uint16_t maxApduSize)
This class provides common functionality for interface objects that are configured by ETS with MemorW...
uint8_t * data()
returns the internal data of the interface object.