beautypg.com

NavCom Sapphire Rev.J User Manual

Page 82

background image

Sapphire Technical Reference Manual Rev. J

82

[BTSET]RESET
Resets Bluetooth firmware (sample output: “Copyright© 2003-2008 Bluegiga
Technologies, Inc.”)

[BTSET]OFF
Turns off Bluetooth

When the Bluetooth is OFF, its interface with the UART on the PIO board is
disabled and all commands sent to the Bluetooth module are not accepted by the
module (until it is turned on again). No text message is output. Turning off
Bluetooth puts the module into “deep sleep” power-saving mode, thus making the
RF invisible, and another in-range Bluetooth electronic device cannot detect the
existence of the system.

[BTSET] PIN
Requests

PIN code (sample output: “SET BT AUTH # 1234”)

Returns the PIN code in the system, if one exists; otherwise, returns

“No Pin”.


[BTSET]SETPIN, “123456”
Sets Bluetooth PIN code for authorized connections
(

sample output: “SET BT AUTH # 1234”)


[BTSET]DELPIN
Deletes PIN code

(sample output: “PIN Deleted”)

When the PIN code is deleted, no encryption can be used.

Default: No PIN

Any printable character can serve as a PIN. The maximum number of PIN
characters is 31.


[BTSET]ADDR

Requests Bluetooth device address (the 6-byte string of hex numbers in the format
“xx:xx:xx:xx:xx:xx” , e.g., “00:07:80:81:66:fe”)

[BTSET]DISCONNECT
Disconnects Bluetooth from the system (forces Bluetooth module to drop all
connections)

The DISCONNECT command can only be issued from non-Bluetooth ports.