drivers/nble: Add BLUETOOTH_MAX_PAIRED
This makes it easier to port samples which may use CONFIG_BLUETOOTH_MAX_PAIRED. Change-Id: I3e37df7cae63a4ac2219ce26408ae4d4f987645d Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
32a86ca351
commit
dc2c434ff7
2 changed files with 5 additions and 2 deletions
|
@ -35,6 +35,10 @@ config BLUETOOTH_SMP
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config BLUETOOTH_MAX_PAIRED
|
||||||
|
int
|
||||||
|
default 7
|
||||||
|
|
||||||
config NBLE
|
config NBLE
|
||||||
bool "Support for custom Nordic Semiconductor BLE protocol"
|
bool "Support for custom Nordic Semiconductor BLE protocol"
|
||||||
default n
|
default n
|
||||||
|
@ -43,6 +47,7 @@ config NBLE
|
||||||
select BLUETOOTH_CENTRAL
|
select BLUETOOTH_CENTRAL
|
||||||
select BLUETOOTH_GATT_CLIENT
|
select BLUETOOTH_GATT_CLIENT
|
||||||
select BLUETOOTH_SMP
|
select BLUETOOTH_SMP
|
||||||
|
select BLUETOOTH_MAX_PAIRED
|
||||||
help
|
help
|
||||||
Enables support for using Nordic Semicondutor nRF51 Bluetooth
|
Enables support for using Nordic Semicondutor nRF51 Bluetooth
|
||||||
LE chips with a custom firmware. The API for this is a subset of
|
LE chips with a custom firmware. The API for this is a subset of
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#include <bluetooth/uuid.h>
|
#include <bluetooth/uuid.h>
|
||||||
#include <bluetooth/gatt.h>
|
#include <bluetooth/gatt.h>
|
||||||
|
|
||||||
#define CONFIG_BLUETOOTH_MAX_PAIRED 1
|
|
||||||
|
|
||||||
#define DEVICE_NAME "Test peripheral"
|
#define DEVICE_NAME "Test peripheral"
|
||||||
#define DEVICE_NAME_LEN 15
|
#define DEVICE_NAME_LEN 15
|
||||||
#define HEART_RATE_APPEARANCE 0x0341
|
#define HEART_RATE_APPEARANCE 0x0341
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue