# Unsolicited events on Q64 with GR plug in

**URL:** <https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643>\
**Category:** Legacy AirPrime modules\
**Created:** [September 2, 2010, 12:16pm UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643 "2010-09-02T12:16:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aemsley](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@aemsley](https://forum.sierrawireless.com/u/aemsley)\
**Post date:** [September 2, 2010, 12:16pm UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/1 "2010-09-02T12:16:50Z")

</div>

Hi,

I’ve got a Q64 running v7.4 firmware and with the GR plug in.

I’m trying to use the CGREG=2 command to give me unsolicited messages about changes in state on the GPRS network. The Q64 accepts the command, and will show the correct information if I type AT+CGREG?, but I don’t get the unsolicited messages. It seems that if I stop the Open AT embedded application using AT+WOPEN=0, I do get the unsolicited messages.

I haven’t loaded an embedded application to the Q64, so why would it make this difference? Is the embedded application actually the GR plug in?

Thanks

Andrew

---

<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:** [September 3, 2010, 6:06am UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/2 "2010-09-03T06:06:34Z")

</div>

> [@aemsley](#):
>
> Is the embedded application actually the GR plug in?

Yes!

---

<div class="post-metadata">

**Author:** ![aemsley](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@aemsley](https://forum.sierrawireless.com/u/aemsley)\
**Post date:** [September 3, 2010, 8:32pm UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/3 "2010-09-03T20:32:01Z")

</div>

Thanks for clearing this up.

Do you have any idea why the unsolicited messages might not be generated when the GR plug in is running?

Regards

Andrew

---

<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:** [September 3, 2010, 8:33pm UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/4 "2010-09-03T20:33:32Z")

</div>

Because Open-AT “traps” them for its own purposes.

---

<div class="post-metadata">

**Author:** ![aemsley](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@aemsley](https://forum.sierrawireless.com/u/aemsley)\
**Post date:** [September 4, 2010, 6:51am UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/5 "2010-09-04T06:51:28Z")

</div>

OK, I see. Is the only way of detecting connection and disconnection from the GPRS network to use the +WIND command and use the NITZ information?

I get a WIND 15 event when it connects to GPRS, but I don’t seem to get anything when it disconnects. Is there a better way of doing this?

Andrew

---

<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:** [September 4, 2010, 10:04am UTC](https://forum.sierrawireless.com/t/unsolicited-events-on-q64-with-gr-plug-in/4643/6 "2010-09-04T10:04:01Z")

</div>

> [@aemsley](#):
>
> I get a WIND 15 event when it connects to GPRS

That is network specific - not all networks do it, and the ones that do it don’t necessarily do it every time!

> [@Is there any AT command to get NITZ time](https://forum.sierrawireless.com/t/is-there-any-at-command-to-get-nitz-time/4498/2):
>
> [https://forum.sierrawireless.com/t/date-time-time-zone-information/3962/7](https://forum.sierrawireless.com/t/date-time-time-zone-information/3962/7)[https://forum.sierrawireless.com/t/gprs-time/2466/2](https://forum.sierrawireless.com/t/gprs-time/2466/2) and many more - do the Search: [search.php?keywords=nitz&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search](https://forum.sierrawireless.com/search.php?keywords=nitz&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search)

[forum.sierrawireless.com/viewtop … fone#p2990](https://forum.sierrawireless.com/t/get-current-date-time-from-network/739/5)

You really do need to monitor +CGREG; maybe you could also try +CGEV ❓

> [@](#):
>
> I don’t seem to get anything when it disconnects.

What do you mean by “disconnects” here?

> [@](#):
>
> Is there a better way of doing this?

Not knowing your application, it’s impossible to say what’s “better” for the particular requirements of your particular application!  
Hence you really should be discussing this with your Distributor or FAE - where you will be able to go into the full details of your situation…
