Table of Contents

.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 (")

TypeText
Value"bundleID"
Range
Order In Interpretation5
Default Value"TSL demo app Bundle ID"

-e

Turn Bluetooth® on or off

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation4
Default Valueon

-bs

set iOS Bundle Seed ID, 10 characters enclosed in double quotes (")

TypeText
Value"BundleSeedID"
Range
Order In Interpretation6
Default Value"TSL demo app Bundle Seed ID"

-f

set the Bluetooth® friendly name, up to 20 characters, enclosed in double quotes (")

TypeText
Value"name"
Range
Order In Interpretation3
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)

TypeEnum
Valuespp/hid/hii
Rangespp/hid/hii
Order In Interpretation1
Default Valuespp

-p

List the available parameters (not their values)

TypeSwitch
Value
Range
Order In Interpretation7

-w

The pin for legacy Bluetooth® pairing

TypeOther
Valuennnn
Range
Order In Interpretation8
Default Value0000

-x

reset Bluetooth® settings to defaults for current mode (HID or SPP)

TypeSwitch
Value
Range
Order In Interpretation2

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

AC BA BV CS ER FN ME OK PR

Examples

CommandResponseAction
.btCS: .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.