Multitech MTS2BTA-R Manual de usuario Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 59
Chapter 4 – Examples
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 60
Example of a Slave Command Sequence
From Power Up
1. Perform an inquiry and search for Slave Bluetooth device with a PC or other embedded unit.
2. Send a connection request from PC or embedded device to the Slave.
3. Wait for a connection
Reply: <cr_lf>CONNECT,{SLAVE ADDRESS}<cr_lf> // SPP Connected
4. Send Data.
Note:
This command sequence assumes the SocketWireless is in factory default in which it automatically comes up
and is connectable as a Slave from a Master request.
Get Out of Data Mode and Check Status
1. Delay at least 50 milliseconds.
2. Check Status, perform a Disconnect …etc.
Sent : AT<cr>
Reply: <cr_lf>OK<cr_lf>
Examples of Server Applications
Headset Point-to-Point
Sent: ATSW25,0,1,0,0<cr> // Sets connect mode to slave
Reply: <cr_lf>OK<cr_lf>
Sent:ATSSNC,0,Headset0,1108<cr> // Sets service and name
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00200404<cr> // Sets COD to a known headset COD
Reply: <cr_lf>OK<cr_lf>
Sent: ATSW25,2,0,0,0<cr> // Sets no response mode
Reply: <cr_lf>OK<cr_lf>
Headset Multipoint
Sent: ATSSW,3,4<cr > // Sets connection number to 4
Reply: <cr_lf>OK<cr_lf>
Sent: ATSSNC,0,Headset0,1108<cr > // Sets service and name
Reply: <cr_lf>OK<cr_lf>
Sent: ATSC,00200404<cr> // Sets COD to a known headset COD
Reply: <cr_lf>OK<cr_lf>
Sent: ATSW25,2,0,0,0<cr> // Sets no response mode
Reply: <cr_lf>OK<cr_lf>
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 87 88

Comentarios a estos manuales

Sin comentarios