Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions common/rdm/DiscoveryAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,13 @@ void DiscoveryAgent::BranchComplete(const uint8_t *data, unsigned int length) {
OLA_WARN << "Previous muted responder " << located_uid
<< " continues to respond";
range->failures++;
// ignore this and continue on to the next branch.
SendDiscovery();
// Treat this as a collision and continue branching down
HandleCollision();
} else if (m_bad_uids.Contains(located_uid)) {
// we've already tried this one
range->failures++;
SendDiscovery();
// Continue branching
HandleCollision();
} else {
m_muting_uid = located_uid;
m_mute_attempts = 0;
Expand Down
2 changes: 1 addition & 1 deletion common/rdm/DiscoveryAgentTestHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class MockResponder: public MockResponderInterface {
unsigned int offset,
uint8_t value,
uint16_t *checksum) const {
data[offset] = value;
data[offset] |= value;
*checksum += value;
}
};
Expand Down