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??
can you give me solution of this?
i want variable 'on' and 'off' time of beacon
Hi rushin
You could start advertising and then set a one-shot timer. When the timer expires, you could stop advertising and set a second timer. When the second timer expires, you can start advertising again.
i have done it.
but my problem is that my timer is not taking correct time. i want to set 2 second for advertising and 3 second for sleep. but is not taking correct time.i have uploaded my code here