01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 – AT <strong>Commands</strong><br />

MD Put Device into Data Mode<br />

This command forces the device into Data Mode. In order for this to have an effect the device has to be<br />

CONNECTED.<br />

Format:<br />

ATMD<br />

Return Parameters: If successful an “OK” is returned, or nothing will be returned if already<br />

in data or fast data mode, and connected. A “NO CARRIER” occurs<br />

when the <strong>Bluetooth</strong> connection has been lost.<br />

EXAMPLE:<br />

TYPE:<br />

ATMD<br />

REPLY:<br />

OK<br />

OR<br />

NO CARRIER<br />

MF Put Device into Fast Data Mode<br />

This command forces the radio into Fast Data Mode on channel 00 only. In order for this to have an<br />

effect, the device has to be CONNECTED. Once in Fast Data Mode, all commands are treated as<br />

data. Ways to get out of this mode are to reset power on the radio or strobe PIO(4) while connected.<br />

Format:<br />

Return Parameters:<br />

EXAMPLE:<br />

TYPE:<br />

REPLY:<br />

ATMF<br />

If successful an “OK” is returned, or nothing will be returned if already<br />

in data or fast data mode, and connected. A “NO CARRIER” occurs<br />

when the <strong>Bluetooth</strong> connection has been lost.<br />

ATMF<br />

OK<br />

OR<br />

ERROR<br />

OR<br />

NO CARRIER<br />

Note: Strobe PIO(4) >5ms to take the device out of fast data into command mode and<br />

maintain the <strong>Bluetooth</strong> RF connection. If not RF connected, the device will be placed in<br />

command mode.<br />

Utilities – Cancel Command<br />

UCL Cancel<br />

The UCL command tells the radio to cancel inquiry or connect request commands and then place the<br />

radio in Idle Mode. This command can come in handy for a quick exit from commands like inquiry<br />

mode if there are no devices in the area and you do not want to wait for an automatic timeout. You<br />

can not issue a cancel command while RF connected.<br />

This command can also be used to break out of the auto-master connect mode. If executed while<br />

connected in this mode, the radio will disconnect and enter idle mode instead of attempting to<br />

connect again.<br />

Format:<br />

ATUCL<br />

EXAMPLE:<br />

TYPE:<br />

REPLY:<br />

ATUCL<br />

OK<br />

OR<br />

ERROR<br />

Multi-Tech Systems, Inc. SocketWireless <strong>Bluetooth</strong> AT <strong>Commands</strong> (S000360G) 40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!