add tinycrypt
This commit is contained in:
@ -19,6 +19,9 @@ CONFIG_CHARACTER_FRAMEBUFFER=y
|
||||
CONFIG_CBPRINTF_FP_SUPPORT=y
|
||||
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_SMP=y
|
||||
CONFIG_BT_PERIPHERAL=y
|
||||
CONFIG_BT_GATT_CLIENT=y
|
||||
CONFIG_BT_DEVICE_NAME="Mellifera"
|
||||
|
||||
CONFIG_BOOTLOADER_MCUBOOT=y
|
||||
|
@ -60,7 +60,7 @@ static void bt_ready(int err)
|
||||
|
||||
LOG_INF("Bluetooth initialized");
|
||||
|
||||
/* Start advertising */
|
||||
// Start advertising
|
||||
err = bt_le_adv_start(BT_LE_ADV_NCONN_IDENTITY, ad, ARRAY_SIZE(ad),
|
||||
sd, ARRAY_SIZE(sd));
|
||||
if (err)
|
||||
@ -98,7 +98,7 @@ int main(void)
|
||||
|
||||
LOG_INF("Starting Beacon Demo");
|
||||
|
||||
/* Initialize the Bluetooth Subsystem */
|
||||
// Initialize the Bluetooth Subsystem
|
||||
err = bt_enable(bt_ready);
|
||||
if (err)
|
||||
{
|
||||
|
Reference in New Issue
Block a user