BLE to BLE

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

BLE to BLE

Postby don.vukovic » Tue Feb 01, 2022 5:50 pm

Can BLE code be setup in a master to connect to only one BLE slave ?

Can the BLE slave reject all masters except one ?

Thank You

JBS_ABRIZ
Posts: 5
Joined: Wed Aug 14, 2024 10:10 am

Re: BLE to BLE

Postby JBS_ABRIZ » Wed Aug 14, 2024 2:30 pm

Yes go into menuconfig:

idf.py menuconfig
Component config --->
Bluetooth ---->
Host (NimBLE - BLE only) --->
(X) NimBLE - BLE only

NimBLE Options ---> change (3) Maximum number of concurrent connections (NEW) 3 into 1


(Top) → Component config → Bluetooth → NimBLE Options Espressif IoT Development Framework Configuration Memory allocation strategy (Internal memory) --->
NimBLE Host log verbosity (Info logs) --->
(3) Maximum number of concurrent connections (NEW)
(3) Maximum number of bonds to save across reboots (NEW)
(8) Maximum number of CCC descriptors to save across reboots (NEW)
(0) Maximum number of connection oriented channels (NEW)
(4096) NimBLE Host task stack size (NEW)
[*] Enable BLE Central role (NEW)
[*] Enable BLE Peripheral role (NEW)
[*] Enable BLE Broadcaster role (NEW)
[*] Enable BLE Observer role (NEW)
[ ] Persist the BLE Bonding keys in NVS (NEW)
[*] Enable BLE SM feature (NEW) --->
[ ] Enable extra runtime asserts and host debugging (NEW)
[ ] Enable dynamic services (NEW)
(nimble) BLE GAP default device name (NEW)
(31) Maximum length of BLE device name in octets (NEW)
(256) Preferred MTU size in octets (NEW)
(0) External appearance of the device (NEW) Memory Settings --->
(4) Maximum number of GATT client procedures (NEW)
[ ] Enable Host Flow control (NEW)
(900) RPA timeout in seconds (NEW)

Who is online

Users browsing this forum: No registered users and 61 guests