Data Capture for Workforce in Motion
2.3.3.User Interface messages
Code ID | |
|
|
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 | |
|
|
Description | Get MMI Mode |
|
|
Payload | None |
|
|
Response | 1 byte: |
| {(Bit 1: Buzzer Enabled) (Bit 0: LEDs enabled)} |
|
|
|
|
Code ID | |
|
|
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 | |
|
|
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 | |
|
|
Description | Set MMI Signal |
|
|
Payload | (2 + 3n) bytes |
| {Signal number, 0 - 3} |
| {Number of steps, 0 - 4} |
|
|
BaracodaPencil 2 – Communication Protocol v1.3 | - 11 - |