Baracoda 2 User Manual

Page 11

Advertising
background image

BaracodaPencil 2 – Communication Protocol v1.3

- 11 -

Data Capture

for Workforce

in Motion

2.3.3.

2.3.3.

2.3.3.

2.3.3.

User Interface messages

User Interface messages

User Interface messages

User Interface messages

Code ID

0x80-0x81

Description

Get MMI Descriptor

Payload

None

Response

2 bytes:

{(Bit 6: Blue LED 1)

(Bit 5: Red LED 1)

(Bit 4: Green LED 1)

(Bit 2: Blue LED 0)

(Bit 1: Red LED 0)

(Bit 0: Green LED 0)}

{(Bit 0: Buzzer)}

Code ID

0x82-0x83

Description

Get MMI Mode

Payload

None

Response

1 byte:

{(Bit 1: Buzzer Enabled) (Bit 0: LEDs enabled)}

Code ID

0x84-0x85

Description

Set MMI Mode

Payload

1 byte:

{(Bit 1: Buzzer Enabled) (Bit 0: LEDs enabled)

(Bit 7 = 0:Buzzer config select, =1: Buzzer config deselect)(Bit 6 = 0:leds config select, =1:

leds config deselect)}

Response

1 byte: {(Bit 0: Success)}

Code ID

0x86-0x87

Description

Get MMI Signal (User interface)

Payload

1 byte:

{Signal number, 0 - 3}

Response

(1 + 3n) bytes:

{Number of steps, 0 - 4}

For each step:

{(Bit 6: Blue LED 1) (Bit 5: Red LED 1) (Bit 4: Green LED 1) (Bit 2: Blue LED 0) (Bit 1: Red

LED 0) (Bit 0: Green LED 0)}

{Buzzer frequency, 0 – 0xFF * 50Hz = 0 – 12750Hz}

{Delay until next step, in tenth of seconds}

Code ID

0x88-0x89

Description

Set MMI Signal

Payload

(2 + 3n) bytes

{Signal number, 0 - 3}

{Number of steps, 0 - 4}

Advertising