create LLRP frame block
This commit is contained in:
parent
6b960d8913
commit
c5c4df1888
|
@ -51,7 +51,12 @@ Implementation::Implementation(UUID::uuid cid, RDM::UID uid)
|
|||
*/
|
||||
void Implementation::rlpLlrpReceiver(ACN::PDU::Message<ACN::RLP::Pdu> root)
|
||||
{
|
||||
(void)root;
|
||||
// data segment will be a block of LLRP Pdu
|
||||
root->createDataBlock<LLRP::Pdu>();
|
||||
|
||||
auto block = std::static_pointer_cast<ACN::PDU::Block<LLRP::Pdu>>(root->data());
|
||||
for(auto const &frame : *block->pdu)
|
||||
LLRP::Target::receiveLLRP(frame);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue