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 4 – Examples<br />

DUN Point-to-Point<br />

Sent: ATSSNC,0,dun0,1103<br />

Reply: OK<br />

Sent: ATSW25,0,1,0,0<br />

Reply: OK<br />

Sent: ATSC,00420210<br />

Reply: OK<br />

// Sets service and name<br />

// Sets connect mode to Slave<br />

// Sets COD to a known DUN COD<br />

DUN Multi-Point<br />

Sent: ATSSW,3,4 // Sets connection number to 4<br />

Reply: OK<br />

Sent: ATSSNC,0,dun0,1103<br />

// Sets service and name<br />

Reply: OK<br />

Sent: ATSC,00420210<br />

// Sets COD to a known DUN COD<br />

Reply: OK<br />

LAN Point-to-Point<br />

Sent: ATSSNC,0,lan0,1102<br />

Reply: OK<br />

Sent: ATSW25,0,1,0,0<br />

Reply: OK<br />

Sent: ATSC,00020300<br />

Reply: OK<br />

// Sets service and name<br />

// Sets connect mode to slave<br />

// Sets COD to a known LAN COD<br />

LAN Multipoint<br />

Sent: ATSSW,3,4 // Sets connection number to 4<br />

Reply: OK<br />

Sent: ATSSNC,0,lan0,1102<br />

// Sets service and name<br />

Reply: OK<br />

Sent: ATSC,00020300<br />

// Sets COD to a known LAN COD<br />

Reply: OK<br />

Example Client Applications<br />

DUN<br />

Only supports the connection.<br />

Sent: ATSC,00420210<br />

Reply: OK<br />

Sent: ATDM, ,1103<br />

Reply: OK<br />

// Sets COD to a known DUN COD<br />

// Sets auto connect address<br />

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

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

Saved successfully!

Ooh no, something went wrong!