Specifications

P25 Development Guide
www.bluebamboo.com
28
2.10 Enter/Quit Bridge Mode Commands
These commands are used to switch the P25 printer between normal mode and bridge mode.
P25 printer has two working modes, one is normal mode, and another is bridge mode. In the
normal mode, P25 can accept and print data both in Blue Bamboo frame protocol and plain text
protocol. When the printer is in the bridge mode, P25 can receive and print data in Blue Bamboo
frame protocol as same as in the normal mode. However, if the P25 receive the data in other
format, instead of printing it out, it will act as a bridge, to exchange these data between USB port
(serial port) and Bluetooth port which connects with other device.
Power on the P25 printer, it is in the normal mode by default. You can send the printer the
commands of ENTER_BRIDGE_MODE to enter bridge mode, and send the commands of
QUIT_BRIDGE_MODE to quit bridge mode.
The commands of ENTER_BRIDGE_MODE and QUIT_BRIDGE_MODE should be in Blue
Bamboo frame protocol.
The commands of ENTER_BRIDGE_MODE or QUIT BRDGE MODE should be wrapped in
C0...C1 frame, and must be sent to the printer together because the P25 need to differentiate
these commands from other data that need to be exchanged between two ports. When the P25 is
in bridge mode, after receiving some data from one port, P25 will judge whether it is in Blue
Bamboo frame protocol or not, if yes, P25 would act. Otherwise, it will send all these data to
another port.
ESC w
[Name] Enter/Quit Bridge mode Commands
[Format] ASCII ESC w n
HEX 1B 77 n
Decimal 27 119 n
[Range]
[Description]
1B 77 30 QUIT_BRIDGE_MODE
1B 77 31 ENTER_BRIDGE_MODE
[Note]
This command should be only in Blue Bamboo frame protocol, not in plain text
protocol.
[Default]
Bridge Mode
Normal Mode