For another device like a smartphone to use any of the Bluetooth “services” which the micro:bit has, it must first be paired with the micro:bit. Once paired, the other device may connect to the micro:bit and exchange data relating to many of the micro:bit’s features.
Bluetooth Set Transmit Power
Change the output power level of the transmitter to the given value.
bluetooth.setTransmitPower(7);
Parameters
power
: a number in the range0..7
, where0
is the lowest power and7
is the highest.
See also
About Bluetooth, micro:bit Bluetooth profile overview , micro:bit Bluetooth profile reference, Bluetooth on micro:bit resources, Bluetooth SIG