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 />

IL Last Inquiry<br />

This command repeats last inquiry.<br />

Format: ATIL<br />

Return Parameters: ,<br />

• An “OK” is returned immediately following this command. “DONE” will<br />

appear after all devices have been found, or an inquiry timeout has<br />

occurred while searching for the number of devices specified.<br />

EXAMPLE MASTER:<br />

TYPE: ATIL<br />

REPLY: OK<br />

00A0961F2023,00000000<br />

DONE<br />

OR<br />

ERROR<br />

Note: ATDI command string previously used is stored in flash memory.<br />

Connect as Master <strong>Commands</strong><br />

This command is used to connect one module to another. Doing this will enable data transmission bidirectionally.<br />

When performing this command, the reply is critical so as to understand where the connection<br />

process is. A connection can take several seconds, so when making a connection, if it is not already connected,<br />

an “OK” will be sent back immediately. Don’t mistake this for a connection being complete. A completed<br />

connection will return “CONNECT,00,123456789012” some time after the command was sent – typically

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

Saved successfully!

Ooh no, something went wrong!