ble_app_beacon.rarhello there i used ble_app_beacon example. i want to make some modifications. i want to put it in sleep mode after some time and again wake up after some time? can you tell me how to do this?? should i use timer interrupt example??
ble_app_beacon.rarhello there i used ble_app_beacon example. i want to make some modifications. i want to put it in sleep mode after some time and again wake up after some time? can you tell me how to do this?? should i use timer interrupt example??
i think using this macro, i can put beacon in sleep mode.
#define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(100, UNIT_0_625_MS)
can any one tell me how to check it on master control panel??
Hi rushin
Thank you for your question and sorry for my late response on your case
When softdevice is enabled (as with the ble_app_beacon example) the nRF51 will periodically sleep between BLE events. Further info on how that works is given in the nRF51 current consumption guide, section "Low power mode with BLE softdevice"
In e.g. the ble_app_bps in nRF51 SDK 10.0.0, application timers are set up to periodically generate interrupts in the application. You need to do three things in your application to implement an application timer:
How to connect to the device with Master Control Panel is described in this tutorial, and also how to connect with your smartphone, in the section "Connecting to the nRF51 DK"
can you tell me about it #define NON_CONNECTABLE_ADV_INTERVAL MSEC_TO_UNITS(100, UNIT_0_625_MS ??
How much it is delay??
during this delay my device is not advertising and may be it is in sleep mode. i set 0x4000.according to documentation there is 10.25 s delay. but i am not getting 10.25 s