01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

PIO Logic <strong>Commands</strong><br />

SSW,4 Set PIO Logic<br />

This command sets the PIO logic register state. When set to 0, the PIOs (2,5,6 & 7) will be active<br />

high. When set to 1, the PIOs will normally be high and then go low when a connection occurs.<br />

Format:<br />

ATSSW,4,<br />

Parameters:<br />

PIO Logic:<br />

0 = (0 = No Connection, +3.3v = Connection)<br />

1 = (+3.3v = No Connection, 0 = Connection)<br />

Factory Default: 0<br />

EXAMPLE:<br />

TYPE: ATSSW,4,1<br />

REPLY: OK<br />

OR<br />

ERROR<br />

Read Using: ATRSW,4<br />

Note:<br />

Requires a reset for change to take affect.<br />

RSW,4 Read PIO Logic<br />

This command sets the PIO logic register state.<br />

Format:<br />

ATRSW,4<br />

Return Parameters: <br />

EXAMPLE:<br />

TYPE: ATRSW,4<br />

REPLY: OK<br />

00<br />

Set Using:<br />

ATSSW,4<br />

Transmitting on Specific Channel Only Command<br />

SWC Select Transmission Channel<br />

This command allows the user to select a single channel to transmit on in multi-point mode. The<br />

device can still receive data from any of the other three channels.<br />

Format:<br />

ATSWC,,<br />

Parameters:<br />

Select:<br />

0 = Deselect the channel as the current transmission channel<br />

1 = Select the channel as the current transmission channel<br />

Channel: 0-3<br />

EXAMPLE:<br />

TYPE: ATSWC,1,0<br />

REPLY: OK<br />

OR<br />

ERROR<br />

Read Using: ATSI,21<br />

Note:<br />

If the selected channel is disconnected the radio will default to<br />

transmitting on all channels.<br />

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

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

Saved successfully!

Ooh no, something went wrong!