Skip to content

Commit

Permalink
Add a todo for future callback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Mar 25, 2024
1 parent f0b01b3 commit baf60c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions libs/acn/LLRPProbeRequestInflator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,12 @@ bool LLRPProbeRequestInflator::HandlePDUData(uint32_t vector,
OLA_DEBUG << "Probe from " << UID(pdu_data.lower_uid) << " to "
<< UID(pdu_data.upper_uid);

// string rdm_message(reinterpret_cast<const char*>(&data[0]), pdu_len);

if (m_llrp_probe_request_handler.get()) {
m_llrp_probe_request_handler->Run(&headers,
UID(pdu_data.lower_uid),
UID(pdu_data.upper_uid)
//,
// UIDSet()
// TODO(Peter): Should we add the filter and known UIDs to the callback too?
//, UIDSet()
);
} else {
OLA_WARN << "No LLRP Probe Request handler defined!";
Expand Down
4 changes: 2 additions & 2 deletions libs/acn/LLRPProbeRequestInflator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class LLRPProbeRequestInflator: public BaseInflator {
const HeaderSet*, // the HeaderSet
const ola::rdm::UID&, // lower UID
const ola::rdm::UID& // upper UID
//,
// const ola::rdm::UIDSet, // known UIDs
// TODO(Peter): Should we add the filter and known UIDs to the callback too?
//, const ola::rdm::UIDSet, // known UIDs
> LLRPProbeRequestHandler;

LLRPProbeRequestInflator();
Expand Down

0 comments on commit baf60c9

Please sign in to comment.