Skip to content

BLE error "BLE task REQ_DEV is already in progress" #7682

Discussion options

You must be logged in to vote

Is it possible you may have uploaded To Flash on your Bangle with the IDE? In that case, some code could be running as well as your app, so effectively NRF.requestDevice( is being called two times, right next to each other?

The error BLE task REQ_DEV is already in progress basically only happens because NRF.requestDevice has previously been called and is still searching for whatever it was asked to search for last time.

You could paste this into the IDE:

require("Storage").list(undefined, {sf:false}).forEach(fn => {
  print("..."+fn);
   if (require("Storage").read(fn).includes("NRF.requestDevice"))
     print(fn+" contains NRF.requestDevice");
});

it'll take a while but will scan all fi…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@nravanelli
Comment options

@gfwilliams
Comment options

@nravanelli
Comment options

@gfwilliams
Comment options

Answer selected by baldursigurds
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants