• I did the following for the HC-06...

    Before paired, HC-06 is at the AT mode. So no soldering will be necessary.

    1. Connect the Espruino via USB to your PC. Be sure that the HC-06 isn't paired.

    2. Connect to the Espruino via the Web IDE as normal.

    3. Run:

      Serial1.on('data', function (data) {console.log(data);}); 
    4. Power down and disconnect

    Note: The new name and password will become active after discharged all the energy of the module. If the module still has any energy, the old one is still active. In the test, for discharging all the system energy and activating the new password, we can connect the power supply PIN with GND about 20 seconds after the power is cut off. Generally, shutting down the device for 30 minutes also can discharge the energy.


Avatar for jamic @jamic started