Retrieves the current Bluetooth pairing code
Device
Only available on the imp004m and imp006 (impOS 42)
Integer — the current Bluetooth pairing code
This method returns the current pairing code, if one has been set manually using bluetooth.setsecurity() or applied by default. If no pairing code has been set, for example because your Squirrel calls
bluetooth.setsecurity(1);
then the method will return 0.