Bluetooth: nble: Implement bt_enable

Resets Nordic BLE chip and opens communication channel to UART.

Change-Id: Ie516869a4d978fc1622361ebc42894430fdf9ea6
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-01-15 15:45:13 +02:00 committed by Anas Nashif
commit 124795afed
3 changed files with 119 additions and 1 deletions

View file

@ -37,6 +37,11 @@ config BLUETOOTH_MAX_PAIRED
int
default 7
config BLUETOOTH_DEBUG
bool
default n
select STDOUT_CONSOLE
config NBLE_UART_ON_DEV_NAME
string "Device Name of UART Device for Nordic BLE"
default "UART_0"
@ -66,7 +71,9 @@ config NBLE
select BLUETOOTH_CENTRAL
select BLUETOOTH_GATT_CLIENT
select BLUETOOTH_SMP
select BLUETOOTH_DEBUG
select UART_INTERRUPT_DRIVEN
select NANO_TIMEOUTS
select NET_BUF
help
Enables support for using Nordic Semiconductor nRF51 Bluetooth