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 <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-08-19 10:27:13 +02:00 committed by Christopher Friedt
parent 3dd61cfc5b
commit 4a97fa310b

View File

@ -56,7 +56,7 @@ void main(void)
}
while (true) {
k_sleep(K_SECONDS(1));
k_sleep(K_SECONDS(10));
mfg_data[2]++;