diff --git a/esp32/uwb_anchor/src/main.cpp b/esp32/uwb_anchor/src/main.cpp index 1f8c5df..70cd92e 100644 --- a/esp32/uwb_anchor/src/main.cpp +++ b/esp32/uwb_anchor/src/main.cpp @@ -393,6 +393,7 @@ static void twr_cycle(void) { /* validate POLL */ if (g_rx_buf[0] != FTYPE_POLL) return; + if (g_rx_buf[2] != ANCHOR_ID) return; /* only respond to our ID */ uint8_t tag_id = g_rx_buf[1]; if (g_paired_tag_id != 0 && tag_id != g_paired_tag_id) return;