This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with system off mode and stopping advertisement

Hi,

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

Application:

  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 devzone.nordicsemi.com/.../

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!!

Related