From 4a97fa310b1dff2eb0d5c91f2649efe98d3bc6cc Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Thu, 19 Aug 2021 10:27:13 +0200 Subject: [PATCH] Bluetooth: samples: Update periodic advertising data update rate Update periodic advertising data update rate. The periodic advertiser is configured with a periodic advertising interval of 2.4 seconds but updating the data every second. This leads to many of the advertising data values not being sent at all. Signed-off-by: Joakim Andersson --- samples/bluetooth/periodic_adv/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bluetooth/periodic_adv/src/main.c b/samples/bluetooth/periodic_adv/src/main.c index 452573e1c49..a267dd7876f 100644 --- a/samples/bluetooth/periodic_adv/src/main.c +++ b/samples/bluetooth/periodic_adv/src/main.c @@ -56,7 +56,7 @@ void main(void) } while (true) { - k_sleep(K_SECONDS(1)); + k_sleep(K_SECONDS(10)); mfg_data[2]++;