Could I hook some js or native code into generating scan response? I guess it is set statically now and would be quite tricky to add this?
There's nothing in there for that at the moment, so yes, you'd have to build it in. Definitely possible though.
@Gordon started
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.
There's nothing in there for that at the moment, so yes, you'd have to build it in. Definitely possible though.