30.12.2014 Views

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

HC25 AT Command Set - Portech.com.tw

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>HC25</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

17. Hardware Related <strong>Command</strong>s s<br />

17. Hardware Related <strong>Command</strong>s<br />

The <strong>AT</strong> <strong>com</strong>mands described in this chapter are related to the hardware interface of the <strong>HC25</strong>. Further information<br />

regarding this interface is available in the "<strong>HC25</strong> Hardware Interface Description"[2].<br />

17.1 <strong>AT</strong>^SLED LED Feature<br />

The <strong>AT</strong>^SLED <strong>com</strong>mand controls the LED function provided by the <strong>tw</strong>o status pins (ST<strong>AT</strong>US0 and ST<strong>AT</strong>US1)<br />

of the <strong>HC25</strong>. Each pin acts as a current sink and can be used to control a connected LED. The electrical specifications<br />

of the status pins and advice on how to install the LED circuit can be found in [2]. The LEDs indicate the<br />

states listed below:<br />

LED connected to ST<strong>AT</strong>US0 line:<br />

• Lights steadily (if =1) or flashes (depending on if =2) when the ME is registered<br />

to the GSM ne<strong>tw</strong>ork and either awake or in power saving state.<br />

• Flashes at 1Hz and 50% duty cycle (0.5s on, 0.5s off) when the ME is awake and not registered to any ne<strong>tw</strong>ork.<br />

• Flashes at approx. 0.25 Hz and approx. 50% duty cycle (2s on, 2s off) when the ME is in power saving state<br />

and not registered to any ne<strong>tw</strong>ork.<br />

When the ME is in power saving state and not registered, the flashing frequency may be less than 0.25Hz<br />

and the duty cycle may vary, for example be<strong>tw</strong>een 45% and 55%. These variations are not regular.<br />

• If not registered the ME checks, at the beginning of each flash period, whether it is awake or in power saving<br />

state, ie. whether to flash at 1Hz or at 0.25Hz. This means that a 1Hz or at 0.25Hz flash period always reflects<br />

the state that was valid before flashing has started. If a state transition occurs during a flash period (from<br />

awake to power saving or vice versa) then the flash period may vary. In the worst case, the LED will indicate<br />

a transition from power saving to awake after 4s.<br />

• Is off if the ME is not registered to the GSM ne<strong>tw</strong>ork, but registered to the UMTS, or if =0.<br />

• While the ST<strong>AT</strong>US0 signal is active the ST<strong>AT</strong>US1 signal is inactive.<br />

LED connected to ST<strong>AT</strong>US1 line:<br />

• Lights steadily (if =1) or flashes (depending on if =2) when the ME is registered<br />

to the UMTS ne<strong>tw</strong>ork and either awake or in power saving state.<br />

• Is off if the ME is not registered to the UMTS ne<strong>tw</strong>ork, or if =0.<br />

• While the ST<strong>AT</strong>US1 signal is active the ST<strong>AT</strong>US0 signal is inactive.<br />

Syntax<br />

Test <strong>Command</strong><br />

<strong>AT</strong>^SLED=<br />

Response(s)<br />

^SLED: (list of supported s), (range of supported s)<br />

OK<br />

Read <strong>Command</strong><br />

<strong>AT</strong>^SLED<br />

Response(s)<br />

^SLED: [, ]<br />

OK<br />

<strong>HC25</strong>_<strong>AT</strong>C_V01.200 Page 264 of 290 7/25/07<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!