Download Bluetooth Commands - Multi

Transcript
Chapter 4 – Examples
DUN Point-to-Point
Sent: ATSSNC,0,dun0,1103<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSW25,0,1,0,0<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00420210<cr>
Reply: <cr_lf>OK<cr_lf>
// Sets service and name
// Sets connect mode to Slave
// Sets COD to a known DUN COD
DUN Multi-Point
Sent: ATSSW,3,4<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSSNC,0,dun0,1103<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00420210<cr>
Reply: <cr_lf>OK<cr_lf>
// Sets connection number to 4
// Sets service and name
// Sets COD to a known DUN COD
LAN Point-to-Point
Sent: ATSSNC,0,lan0,1102<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSW25,0,1,0,0<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00020300<cr>
Reply: <cr_lf>OK<cr_lf>
// Sets service and name
// Sets connect mode to slave
// Sets COD to a known LAN COD
LAN Multipoint
Sent: ATSSW,3,4<cr >
Reply: <cr_lf>OK<cr_lf>
Sent: ATSSNC,0,lan0,1102<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00020300<cr>
Reply: <cr_lf>OK<cr_lf>
// Sets connection number to 4
// Sets service and name
// Sets COD to a known LAN COD
Example Client Applications
DUN
Only supports the connection.
Sent: ATSC,00420210<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATDM, <DUN Address>,1103<cr>
Reply: <cr_lf>OK<cr_lf>
// Sets COD to a known DUN COD
// Sets auto connect address
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H)
61