diff --git a/examples/ble_peripheral/ble_app_blinky/main.c b/examples/ble_peripheral/ble_app_blinky/main.c index 8e26160..4a2aa10 100644 --- a/examples/ble_peripheral/ble_app_blinky/main.c +++ b/examples/ble_peripheral/ble_app_blinky/main.c @@ -74,12 +74,12 @@ #define LEDBUTTON_LED BSP_BOARD_LED_2 /**< LED to be toggled with the help of the LED Button Service. */ #define LEDBUTTON_BUTTON BSP_BUTTON_0 /**< Button that will trigger the notification event with the LED Button Service */ -#define DEVICE_NAME "Nordic_Blinky" /**< Name of device. Will be included in the advertising data. */ +#define DEVICE_NAME "Nordic12" /**< Name of device. Will be included in the advertising data. */ #define APP_BLE_OBSERVER_PRIO 3 /**< Application's BLE observer priority. You shouldn't need to modify this value. */ #define APP_BLE_CONN_CFG_TAG 1 /**< A tag identifying the SoftDevice BLE configuration. */ -#define APP_ADV_INTERVAL 64 /**< The advertising interval (in units of 0.625 ms; this value corresponds to 40 ms). */ +#define APP_ADV_INTERVAL 400 /**< The advertising interval (in units of 0.625 ms; this value corresponds to 40 ms). */ #define APP_ADV_DURATION BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED /**< The advertising time-out (in units of seconds). When set to 0, we will never time out. */ @@ -571,6 +571,7 @@ int main(void) buttons_init(); power_management_init(); ble_stack_init(); + sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE); gap_params_init(); gatt_init(); services_init();