01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 – AT <strong>Commands</strong><br />

SW26 Lock User Settings<br />

This command locks user settings to prevent unauthorized local and remote access..<br />

Warning – This command will lock the PIN.<br />

Format: ATSW26,,<br />

Parameters:<br />

• PIN: 16 alphanumeric characters MAX (Caps Sensitive, includes spaces)<br />

• Lock/Unlock:<br />

0 = Unlocked<br />

1 = Locked<br />

Factory Default: Unlocked<br />

EXAMPLE:<br />

TYPE: ATSW26,default,1<br />

REPLY: OK<br />

OR<br />

ERROR<br />

Note: ATSW26 will still work after locking the user settings, allowing them to be unlocked.<br />

SW27 Write LED Rate<br />

This command sets the LED Pulse Rate on PIO(5).<br />

Format: ATSW27,<br />

Parameters:<br />

• Pulse Rate: Integer decimal value from 1ms to 60,000ms<br />

Factory Default: 1000<br />

EXAMPLE:<br />

TYPE: ATSW27,1000 //1000 ms<br />

REPLY: OK<br />

OR<br />

ERROR<br />

Read Using: ATSI,11<br />

Note: Used to indicate slave mode operation and inquiry in process. Duty cycle equals 50%.<br />

SW28 Write Inquiry and Master Timeout Settings<br />

This command configures inquiry and master connect timeout settings.<br />

Format:<br />

ATSW28,,,<br />

Parameters:<br />

• Inquiry Timeout: Integer value from 1 to 40 [seconds]<br />

• Master Connect Request Timeout: Integer value from 1 to 40 [seconds]<br />

• No Data Timeout: Integer value from 1 to 65535 [seconds]<br />

Factory Default: Inquiry Timeout = 16, Master Connect Request Timeout = 40, No Data<br />

Timeout = 60<br />

EXAMPLE:<br />

TYPE: ATSW28,16,40,60 // factory default<br />

Read Using:<br />

Note:<br />

REPLY:<br />

OK<br />

OR<br />

ERROR<br />

ATSI,13<br />

The master connect request timeout also controls the timeouts on the ATRRN,<br />

ATRRSN and ATPAIR commands.<br />

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

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

Saved successfully!

Ooh no, something went wrong!