• Please could you post the code that you used, and what was printed onto the screen when you uploaded it?

    NRF.setServices is definitely the right thing - what happens if you use one of the examples from http://www.espruino.com/Reference#l_NRF_­setServices as-is? Do you see the services?

    Is it possible that you're not powering the module correctly? Normally it uses so little power that it could actually run off the power that's on the serial wires - but when it's doing work it might fail to get enough power and would then restart.

  • It seems like your guess with the power was correct. I was powering it over the 3V line of my TTL converter, switching to 5V fixed the issue of rebooting.

    A question arises for me though now. Will the NRF switch back to low power mode or do I have to trigger this myself then?
    And how do I set the services changed flag so iOS is triggering a rescan of the characteristics and services instead of chaching them?

    Thanks already!

About

Avatar for binux @binux started