beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 65

background image

Extended System-Level Command Functions






57

(BT) Bluetooth Parameters – This command configures the Bluetooth
Communication parameters.

Syntax:

KcBT[nnn

1

,vvvv

1

:nnn

2

,vvvv

2

:…,nnn

n

,vvvv

n

:];

Where:

nnn

i

,vvvv

i

:

Configuration Item – Value pairs

nnn

i

Decimal Item Numbers from 1 to 9999

,

Decimal Item Number Delimiter

vvvv

i

Item Value (syntax defined later)

:

Item Value Delimitermimitd

Example – Discoverable on, service name is “smartchoice”, Bluetooth name is
“bestprinter”.


KcBT[1,’bestprinter’:2,’smartchoice’:3,1]


Bluetooth parameters are defined by the following table:

Item

Number

Name

Available

to User

(Y/N)

Value Type

Description

1

Bluetooth Name

Y

String

Bluetooth Device Name

(Friendly Name) 1 to 32

characters. Default ‘Datamax-
Oneil’

2 Bluetooth

Service

Name

Y

String

Bluetooth Service name – 1 to
32 characters. Default

‘Datamax-Oneil’

3

Discoverable or Not

Y

Boolean

Discoverable: yes or no;

Default YES.

0=no

1=yes

4

Connectable or Not

Y

Boolean

Connectable: yes or no;

Default is NO
0=no

1=yes

5

Bondable or Not

Y

Boolean

Bondable: yes or no; Default is

NO.

0=no

1=yes

6

Authentication on

Y

Boolean

Authentication on or off.

Default OFF.
0=no

1=yes

7

Encryption on

Y

Boolean

Encryption on or off. Default

OFF

0=no
1=yes

This manual is related to the following products: