Avatar for pk910

pk910

Member since Dec 2016 • Last active Dec 2016
  • 1 conversations
  • 2 comments

Most recent activity

    • 4 comments
    • 1,661 views
  • in Puck.js, Pixl.js and MDBT42
    Avatar for pk910

    Hello,

    Is it possible to write to unused persistent storage?
    According to http://www.espruino.com/STM32F1Flash the Puck doesn't use address 468992 to 479232 (10kB)

    but STM32F1Flash.js or poke calls are not able to write to these addresses.
    Do I miss something?

  • in Puck.js, Pixl.js and MDBT42
    Avatar for pk910

    Hi Gordon,

    NRF.sleep() totally turns off bluetooth, which you probably don't want :)

    This is exactly what i've tried to do to save some battery capacity.
    Unfortunately the Puck doesn't show up again after NFR.wake()
    Do I have to do anything else after enabling bluetooth again?
    Do I have to setup advertisements using NRF.setServices / NRF.setAdvertising?

    Greets pk910

    Edit:

    NRF.setServices({},{uart:true});
    

    just after NRF.wake() fixed it :)

Actions