Multitech MTS2BTA-R Manual de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 25
SW21 Write Slave Scan Intervals and Windows
This command configures the page scan, inquiry scan interval, and window for disconnected
slave devices in time slots.
Warning – Setting these will affect the inquiry and connection time. You could inadvertently set
the scan interval too long and the window to short on the slave for a master connect request.
Unless your application is battery powered slave and power conservation is critical leave at the
factory default settings. The minimum Window allowed by the Bluetooth spec is 11.25msec. If
you set isWindow = 0 the Slave device will not be discovered by any Master but you can still
use the Slaves BT address and connect directly to it from a remote Master.
Format: ATSW21,<psInterval>,<psWindow>,<isInterval>,<isWindow>
Parameters:
psInterval: Page Scan Interval
Integer Value 18 to 4096 (11.25ms to 2560ms), 0=Disabled
Time [ms] = psInterval * 0.625ms
psWindow: Page Scan Window
Integer Value 18 to 4096 (11.25ms to 2560ms), 0=Disabled
Time [ms] = psWindow * 0.625ms
isInterval: Inquiry Scan Interval
Integer Value 18 to 4096 (11.25ms to 2560ms), 0=Disabled
Time [ms] = isInterval * 0.625ms
isWindow: Inquiry Scan Window
Integer Value 18 to 4096 (11.25ms to 2560ms), 0=Disabled
Time [ms] = isWindow * 0.625ms
Factory Default: psInterval = 1024(640ms), psWindow = 512(320ms), isInterval =
1024(640ms), isWindow = 512(320ms)
EXAMPLE:
TYPE: ATSW21,4096,18,4096,18<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Read Using: ATSI,10
Notes:
Requires a reset for the settings to go into affect.
ATSW21,4096,18,4096,18 settings will result in a current draw for an unconnected
slave of ~1mA average vs. 39mA average at default.
ATSW21,4096,18,4096,18 settings along with enabling Deep Sleep Mode will result in
an unconnected slave current draw of 350uA average.
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 87 88

Comentarios a estos manuales

Sin comentarios