I'm not entirely sure I understand - if you save to flash (http://www.espruino.com/Saving) then every time Puck.js starts up (eg after the battery is removed) it'll come up with HID mode enabled and everything should be fine.
While Espruino devices only support one incoming connection at a time, they can have one incoming and one outgoing connection at the same time. So if you had HID enabled on your Puck, you could use the code at http://www.espruino.com/BLE+UART to communicate with the MDBT42Q while still having the HID connection to the PC and everything would be fine
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm not entirely sure I understand - if you save to flash (http://www.espruino.com/Saving) then every time Puck.js starts up (eg after the battery is removed) it'll come up with HID mode enabled and everything should be fine.
While Espruino devices only support one incoming connection at a time, they can have one incoming and one outgoing connection at the same time. So if you had HID enabled on your Puck, you could use the code at http://www.espruino.com/BLE+UART to communicate with the MDBT42Q while still having the HID connection to the PC and everything would be fine