beautypg.com

Bluetooth query, Querying the printer – Datamax-O'Neil microFlash 2te Quick Reference Programming Guide User Manual

Page 63

background image

Querying the Printer

59

Datamax-O’Neil Quick Reference Programming

Bluetooth Query

Bluetooth Query
Query Format

ESC{BL?}

Reply Format

{BL!AD:x;F:x;SN:x;PR:x;CL:x;D:x;C:x;B:x;E:x;A:x;P:x;I:

x;PWR:x;W:x}

Function

Returns the current Bluetooth configuration (if applicable).

Reply Example

{BL!AD:00:80:37:1A:0F:F7;F:Wireless Printer;SN:2t

Bluetooth;PR:SPP;CL:040680;D:Y;C:Y;B:Y;E:N;A:N;P:Y;

S:0;PWR:ON}

Reply Example

Explanation

BL! - Reply to a Bluetooth query.

AD:00:80:37:1A:0F:F7; - The Bluetooth device address is

00:80:37:1A:0F:F7.

F:Wireless Printer; - The bluetooth friendly device name is

Wireless Printer.

SN:2t Bluetooth; - The service name is 2t Bluetooth.

PR:SPP; - The profile support is Serial Port Profile (SPP).

CL:040680; - The device class is 040680, a rendering,

imaging printer.

D:Y; - The device is discoverable.

C:Y; - The device is connectable.

B:Y; - The device is bondable.

E:N; - Encryption is off.

A:N; - Authentication is on.

P:Y; - A passkey is stored on this device.

I:nn; - Inactivity timeout

S:0; - Security is open.

PWR:ON; - RF module power is on.

W:nn; Watchdog period.

This manual is related to the following products: