14.03.2015 Views

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

AT Commands Reference Manual - wireless netcontrol GmbH

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 3: <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong><br />

*** Plug in a headset<br />

<strong>AT</strong>+ MAMOD =2<br />

+CME ERROR: Operation not allowed<br />

+MAHSD, Headset/TTY Switch Detect Enable<br />

This command Enables/disables the headset/tty switch detect mechanism ("Headset" refers to<br />

audio mode 1, "TTY" refers to audio mode 6).<br />

Headset/TTY switch detect mechanism sets the active audio mode to "Headset"/ "TTY" (see<br />

audio modes table in +MAMOD command's section) once a headset is plugged in. It returns to<br />

the previous audio mode, once the headset is plugged out. +MAHSD value is saved in NVM.<br />

Note: Upon setting +MAHSD, the audio mode status is explicitly checked and accordingly set.<br />

When +MAHSD=1 and a headset is plugged in, +MAMOD value is automatically set to '1' and<br />

its set command is disabled and will return ERROR.<br />

When +MAHSD=2 and a headset is plugged in, +MAMOD value is automatically set to '6' and<br />

its set command is disabled and will return ERROR.<br />

Command<br />

Type Syntax Response/Action Remarks<br />

Set +MAHSD = OK<br />

or:<br />

+CME ERROR: <br />

Read +MAHSD? +MAHSD: <br />

Enables/disables headset/tty switch<br />

detect.<br />

Reads the headset/tty switch detect<br />

status.<br />

OK<br />

Test +MAHSD=? +MAHSD: <br />

The following table shows the +MAHSD parameters.<br />

Table 3-136: +MAHSD Parameters<br />

<br />

<br />

Description<br />

Headset/TTY switch detection mechanism status<br />

0 - Headset/TTY switch detect disable<br />

1 - Headset switch detect enable<br />

2 - TTY switch detect enable<br />

April 15, 2010 H24 - <strong>AT</strong> <strong>Commands</strong> <strong>Reference</strong> <strong>Manual</strong> 3-205

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

Saved successfully!

Ooh no, something went wrong!