Before paired, HC-06 is at the AT mode. So no soldering will be necessary.
Connect the Espruino via USB to your PC. Be sure that the HC-06 isn't paired.
Connect to the Espruino via the Web IDE as normal.
Run:
Serial1.on('data', function (data) {console.log(data);});
Serial1.print("AT+NAMEEspruino");
Serial1.print("AT+PIN1701");
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.
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 did the following for the HC-06...
Before paired, HC-06 is at the AT mode. So no soldering will be necessary.
Connect the Espruino via USB to your PC. Be sure that the HC-06 isn't paired.
Connect to the Espruino via the Web IDE as normal.
Run:
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.