1
0
Fork 0

DMP not allowed directly in root

This commit is contained in:
Kevin Matz 2021-08-20 15:39:52 -04:00
parent 5e9f957731
commit 571e6a73ec
1 changed files with 6 additions and 2 deletions

View File

@ -41,10 +41,14 @@ Appliance::Appliance(UUID::uuid cid)
{
fctn_ = "libESTA ACN Appliance";
/**
* 1.3.1. Recursive use of PDU Format in Other Protocols
* ... within ACN as currently specified, there is just one higher layer
* protocol defined which interfaces directly to the root layer:
* Session Data Transport
*/
RlpRegisterVector(SDT::SDT_PROTOCOL_ID, std::bind(&Appliance::SdtReceiver,
this, std::placeholders::_1));
RlpRegisterVector(DMP::DMP_PROTOCOL_ID, std::bind(&Appliance::DmpReceiver,
this, std::placeholders::_1));
};