.bt Bluetooth® functions
Reads the Bluetooth® address, additionally the Bluetooth® can be reset and configured. This command is only available over the USB interface and cannot be used in the Autorun file. Settings made with this command are persistent and not reset to defaults at power up.
Android | iOS | .NET |
---|---|---|
link coming soon | link coming soon | BluetoothCommand |
Parameters
Identifier | Values | Description |
---|---|---|
-bi | "bundleID" | set iOS Bundle ID, up to 80 characters, enclosed in double quotes (") |
-e | on/off | Turn Bluetooth® on or off |
-bs | "BundleSeedID" | set iOS Bundle Seed ID, 10 characters enclosed in double quotes (") |
-f | "name" | set the Bluetooth® friendly name, up to 20 characters, |
enclosed in double quotes (") | ||
-m | spp/hid/hii | Set Bluetooth® for either HID or SPP mode, x is implied as a full reset will be performed. (hii is HID with iOS keyboard pop, this option may cause issues with Android 5 and 6) |
-p | List the available parameters (not their values) | |
-w | nnnn | The pin for legacy Bluetooth® pairing |
-x | reset Bluetooth® settings to defaults for current mode (HID or SPP) |
Parameter detail
-bi
set iOS Bundle ID, up to 80 characters, enclosed in double quotes (")
Type | Text |
---|---|
Value | "bundleID" |
Range | |
Order In Interpretation | 5 |
Default Value | "TSL demo app Bundle ID" |
-e
Turn Bluetooth® on or off
Type | Enum |
---|---|
Value | on/off |
Range | on/off |
Order In Interpretation | 4 |
Default Value | on |
-bs
set iOS Bundle Seed ID, 10 characters enclosed in double quotes (")
Type | Text |
---|---|
Value | "BundleSeedID" |
Range | |
Order In Interpretation | 6 |
Default Value | "TSL demo app Bundle Seed ID" |
-f
set the Bluetooth® friendly name, up to 20 characters, enclosed in double quotes (")
Type | Text |
---|---|
Value | "name" |
Range | |
Order In Interpretation | 3 |
Default Value | "unit serial number" |
-m
Set Bluetooth® for either HID or SPP mode, x is implied as a full reset will be performed. (hii is HID with iOS keyboard pop, this option may cause issues with Android 5 and 6)
Type | Enum |
---|---|
Value | spp/hid/hii |
Range | spp/hid/hii |
Order In Interpretation | 1 |
Default Value | spp |
-p
List the available parameters (not their values)
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 7 |
-w
The pin for legacy Bluetooth® pairing
Type | Other |
---|---|
Value | nnnn |
Range | |
Order In Interpretation | 8 |
Default Value | 0000 |
-x
reset Bluetooth® settings to defaults for current mode (HID or SPP)
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 2 |
Parameter Interpretation Order
-m, -x, -f, -e, -bi, -bs, -p, -w
Parameter Defaults
-bi "TSL demo app Bundle ID", -e on, -bs "TSL demo app Bundle Seed ID", -f "unit serial number", -m spp, -w 0000, -x
Response Headers
Examples
Command | Response | Action |
.bt | CS: .bt
BA: 00:07:80:41:a4:c6 FN: 2128-000001 AC: Passed OK: | The Bluetooth® address and friendly name is read and the authentication chip is working. |