Problem with system off mode and stopping advertisement [closed]

RohanKadam gravatar image

asked 2017-08-11 11:37:34 +0100

updated 2017-08-12 07:34:30 +0100


Most of the sections of my application are functioning as I want it to, except these two (step 3 and step 4).


  1. Connect device (with Auto connect enabled)
  2. Transfer data using nus service from peripheral to central device.
  3. Stop/disable advertising.
  4. Initiate System OFF.
  5. Press button to restart advertising.
  6. Auto connect
  7. Repeat (from 2)

Problem 1: I'm unable to stop advertising using ble_advertising_start(BLE_ADV_MODE_IDLE); and sd_ble_gap_adv_stop(); as per https://devzone.nordicsemi.com/questi...

Problem 2: System OFF mode gives current consumption of around 1.6mA (unlike the expected 0.6uA). Even after resetting the device to get it out of debug mode (removing battery as well as using nrfjprog --pinreset).

Please help!!

edit retag flag offensive reopen delete report spam

Closed as "the question is answered, right answer was accepted" by RohanKadam at 2017-08-14 07:59:41 +0100

1 answer

Sort by ยป oldest newest most voted
RohanKadam gravatar image

answered 2017-08-14 07:58:46 +0100

Including a small delay before System Off command,solved the problem. Now everything stops on System Off. (even advertising stops without using sd_ble_gap_adv_stop();)



edit flag offensive delete publish link more

Question Tools

1 follower


Asked: 2017-08-11 11:37:34 +0100

Seen: 74 times

Last updated: aug. 14