# Incorrect +CREG:2 after AT+CFUN=0?

**URL:** <https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936>\
**Category:** Open AT\
**Created:** [February 16, 2009, 10:13am UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936 "2009-02-16T10:13:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 16, 2009, 10:13am UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/1 "2009-02-16T10:13:32Z")

</div>

I removed the SIM, then issued AT+CFUN=0 to stop the GSM stack:

> [@](#):
>
> +WIND: 14
> 
> +CREG: 0
> 
> +WIND: 0
> 
> at+cfun=0
> 
> OK
> 
> +WIND: 8

Then I replaced the SIM:

> [@](#):
>
> +WIND: 13
> 
> +WIND: 1
> 
> +CREG: 2
> 
> +WIND: 16
> 
> +WIND: 4
> 
> +WIND: 10,“SM”,0,“FD”,0,“ON”,0,“EN”,0
> 
> +WIND: 11,“360A59700DE8D940E8E1F2A215BD5F41”,

+CREG: 2 means that the unit is searching for the network - but that can’t be true, as the GSM stack is stopped (AT+CFUN=0) ❗😮❓

So what’s going on here, then?!

---

<div class="post-metadata">

**Author:** ![paruthiv](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@paruthiv](https://forum.sierrawireless.com/u/paruthiv)\
**Post date:** [February 18, 2009, 7:36am UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/2 "2009-02-18T07:36:29Z")

</div>

> [@](#):
>
> +CREG: 2 means that the unit is searching for the network - but that can’t be true, as the GSM stack is stopped (AT+CFUN=0) ❗ 😮 ❓

😲 … Are you really sure …?? i actually tried it on my module but it was working fine here( means no +CREG :2 indication ) …  
Tell me are you using ne Open AT Application as well…?? Is this scenario happening with a particular firmware or module?  
or is it everytime…?? ❓

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 18, 2009, 9:53am UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/3 "2009-02-18T09:53:07Z")

</div>

> [@I](#):
>
> +CREG: 2 means that the unit is searching for the network - but that can’t be true, as the GSM stack is stopped (AT+CFUN=0) ❗ 😮 ❓

> [@paruthiv](#):
>
> 😲 … Are you really sure …??

Yes:

- I’m sure that the AT Commands manual says that +CREG: 2 means that the unit is searching for the network;
- I’m sure that the AT Commands manual says that AT+CFUN=0 stops the GSM stack;
- I’m sure that is the trace that I copied & pasted from the Terminal Emulator window

> [@](#):
>
> Tell me are you using ne Open AT Application as well…?? Is this scenario happening with a particular firmware or module?  
> or is it everytime…?? ❓

I just tried it again on a Fastrack Supreme:

```auto
at+cgmr
663_09gg.FSU002 1955080 080207 16:01

OK

at+cfun=0 <-- Stop GSM Stack
OK

+WIND: 8 <-- Network lost (as expected)

+CREG: 0 <-- Not registered; not searching (as expected)

at+wopen=7
+WOPEN: 7,0 <-- App loaded, but not running

OK

+WIND: 14 <-- SIM removed

+WIND: 13 <-- SIM replaced

+WIND: 14 <-- SIM removed

+WIND: 13 <-- SIM replaced
```

So it must’ve been a particular unit - now, which one was it…? 😕

---

<div class="post-metadata">

**Author:** ![paruthiv](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@paruthiv](https://forum.sierrawireless.com/u/paruthiv)\
**Post date:** [February 18, 2009, 1:10pm UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/4 "2009-02-18T13:10:31Z")

</div>

> [@](#):
>
> So it must’ve been a particular unit - now, which one was it…? 😕

😃 … yah i thought so… So this means it is a module problem only… so what are you planning to do…??  
btw did it have the same firmware…?? i wonder if the same thing wud be repeated if we erase the flash, reload the firmware in dat particular module and den again give it a shot… what say…?? ❓

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 18, 2009, 2:51pm UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/5 "2009-02-18T14:51:58Z")

</div>

> [@paruthiv](#):
>
> So this means it is a module problem only…

Not necessarily - it could (also) be a firmware issue…

> [@](#):
>
> so what are you planning to do…??

I’ll have to try and remember which unit it was - and confirm the behaviour!

> [@](#):
>
> did it have the same firmware…??

Almost certainly not…

---

<div class="post-metadata">

**Author:** ![paruthiv](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@paruthiv](https://forum.sierrawireless.com/u/paruthiv)\
**Post date:** [February 18, 2009, 3:01pm UTC](https://forum.sierrawireless.com/t/incorrect-creg-2-after-at-cfun-0/2936/6 "2009-02-18T15:01:16Z")

</div>

> [@](#):
>
> Almost certainly not…

hmmm… then it could be a F/w problem… but it wud be gud to test it once… and may be erasing flash n again downloading the f/w wud help…  
will hv to wait till u find the naughty module… 😆
