The NRF object has both bluetooth and NFC functionality see header jswrap_bluetooth.h -
Maybe there could be some #ifdef to not include those NFC methods at all. In fact it is almost like that already and the methods are still there but empty, see
there is check for USE_NFC making the method to do nothing. So not sure why not to remove whole method, I think in other cases methods are removed from same object based on build flags.
© Espruino, powered by microcosm.
Report a problem