我正在做一款Homekit产品,使用的是esp_homekit_sdk和esp_idf 5.01,我在对产品进行BCT IPV6测试的时候,经常会出现以下错误:
START (PROBING)
NO
tiCE 2023-12-12 11:43:13.786855+0800: conflicting probe:
airtouChBRiDge-412116.locAl.
ERROR 2023-12-12 11:43:13.983081+0800: Device did not provide a sufficient time gap between receiving a conflicting probe and reprobing.
ERROR 2023-12-12 11:43:13.983153+0800: expected_time_gap=237,actual_time_gap=183
NOTICE 2023-12-12 11:43:13.983180+0800: denying probe:
aIrTouChBriDGE-412116.lOcaL.
NOTICE 2023-12-12 11:43:14.284781+0800: conflicting probe:
AirtoUchBRIDgE-412117.loCal.
NOTICE 2023-12-12 11:43:14.583054+0800: denying probe:
AiRtoUChBRIDgE-412117.LoCaL.
NOTICE 2023-12-12 11:43:14.883392+0800: conflicting probe:
AIRTOucHBridgE-412118.lOcal.
NOTICE 2023-12-12 11:43:15.182323+0800: denying probe:
AiRTOuChbrIdge-412118.local.
NOTICE 2023-12-12 11:43:15.483131+0800: conflicting probe:
AiRtOuChBriDgE-412119.lOCAl.
NOTICE 2023-12-12 11:43:15.782848+0800: denying probe:
AiRtOuCHBriDge-412119.LOCAL.
NOTICE 2023-12-12 11:43:16.083054+0800: conflicting probe:
AiRToucHbridGe-412120.LOCaL.
NOTICE 2023-12-12 11:43:16.383245+0800: denying probe:
aiRTouchbriDgE-412120.lOCAL.
NOTICE 2023-12-12 11:43:16.782898+0800: conflicting probe:
AIrTOuChBRidGE-412121.LOcal.
ERROR 2023-12-12 11:43:18.686411+0800: Device sent a new probe after test issued a conflicting probe in response to device's previous query.
FAILED (PROBING)
这项测试有时候能通过,有时候又不能,完全没有规律。
我想这是MDNS组件的问题,但是我不知道怎样去处理。我注意到mdns.c文件是在代码工程的managed_componentsespressif__mdns目录下,所以我不能修改它,我对mdns.c文件下面的代码修改后能消除第一个错误,但是第二个错误还是会出现。
case
PCB_PROBE_2:
_mdns_schedule_tx_packet(p, 250 + 60); //发送时间延长60ms