[RFC PATCH BlueZ 1/4] mesh: acceptor: increase interval for unprovisioned device beacon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cannot find a specific interval for sending unprovisioned device
beacons in MshPRT_v1.1, section 3.10.2/5.2.1. The current interval of
500 ms seems to cause interferience with normal advertising messages,
maybe this is controller dependent (seen on RTL8761BU).

A beacon interval of 1000 ms should be sufficient for scanning (e.g. by
a provisioner) while allowing normal advertising messages to be
transmitted.
---
 mesh/prov-acceptor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c
index 27d4964316b3..78304515ed16 100644
--- a/mesh/prov-acceptor.c
+++ b/mesh/prov-acceptor.c
@@ -793,7 +793,7 @@ bool acceptor_start(uint8_t num_ele, uint8_t *uuid,
 		memcpy(beacon + 2, uuid, 16);
 
 		/* Infinitely Beacon until Canceled, or Provisioning Starts */
-		result = mesh_send_pkt(0, 500, beacon, len);
+		result = mesh_send_pkt(0, 1000, beacon, len);
 
 		if (!result)
 			goto error_fail;
-- 
2.43.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux