The Hardware library now includes a method for changing the Bluetooth mode. http://www.b4x.com/forum/showthread.php?t=1876