mirror of
https://github.com/thelsing/knx.git
synced 2025-04-28 01:15:42 +02:00
adds unicast auto ack
This commit is contained in:
parent
f606f6da0d
commit
8f35b4cf42
@ -649,6 +649,15 @@ void TpUartDataLinkLayer::requestConfig()
|
|||||||
_platform.writeUart(U_CONFIGURE_REQ | U_CONFIGURE_MARKER_REQ);
|
_platform.writeUart(U_CONFIGURE_REQ | U_CONFIGURE_MARKER_REQ);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Set Address for AutoACK Unicast
|
||||||
|
const uint16_t address = _deviceObject.individualAddress();
|
||||||
|
_platform.writeUart(U_SET_ADDRESS_REQ);
|
||||||
|
_platform.writeUart((address >> 8) & 0xFF);
|
||||||
|
_platform.writeUart(address & 0xFF);
|
||||||
|
#ifdef NCN5120
|
||||||
|
_platform.writeUart(0xFF); // Dummy Byte needed by NCN only
|
||||||
|
#endif
|
||||||
|
|
||||||
// Abweichende Config
|
// Abweichende Config
|
||||||
if (_repetitions != 0b00110011)
|
if (_repetitions != 0b00110011)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user