Add iterations of connections and disconnections to Babblesim test of Bluetooth Low Energy Central role functionality by scanning for other devices and establishing connection to upto 62 peripherals with a strong enough signal. Enable Auto PHY Update and Auto Data Length Update procedure in the central_multilink sample. Enable Auto PHY Update and Auto Data Length Update procedure in the peripheral_identity sample. Fixed issues related to rotation of identities after maximum number of connection iterations are repeated. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
17 lines
280 B
C
17 lines
280 B
C
/* main.c - Application main entry point */
|
|
|
|
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
int init_peripheral(uint8_t iterations);
|
|
|
|
void main(void)
|
|
{
|
|
(void)init_peripheral(CONFIG_SAMPLE_CONN_ITERATIONS);
|
|
}
|