mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 09:33:44 +08:00
mdns: move MDNS_PROBE_DELAY_MS to mdns_opts.h to allow customisation
In some noisy WiFi environment, it may be necessary to increase this value to 300ms to accomodate WiFi latencies which may result in less than the required 250ms between two probe frames received by the Apple BCT application. Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
committed by
Simon Goldschmidt
parent
2441c6fa3f
commit
4ca115a08e
@@ -126,7 +126,6 @@ static mdns_name_result_cb_t mdns_name_result_cb;
|
||||
MDNS_RESPONSE_TC_DELAY_MIN) + MDNS_RESPONSE_TC_DELAY_MIN)
|
||||
|
||||
/** Probing & announcing defines */
|
||||
#define MDNS_PROBE_DELAY_MS 250
|
||||
#define MDNS_PROBE_COUNT 3
|
||||
#ifdef LWIP_RAND
|
||||
/* first probe timeout SHOULD be random 0-250 ms*/
|
||||
|
||||
Reference in New Issue
Block a user