Home > Just Blog'ing > Update: GM862 Driver released!

Update: GM862 Driver released!

Many people asked how I connected the GM862  to my .NET Micro Framework board (For people who don’t know what the GM862 is, the GM862 is a very powerfull GSM Module with build in TCP/IP Stack for GRPS and DUN, SirfStar III GPS reciever, Python Intrepeter, Jammer Detection and many more powerfull functions.) I’ve written a class for this and published this some time ago.

This driver class was  an initial version and I made a lot of changes to it. But I still didn’t like the stability of it, missing on unsolicitated responses like RING and GPS information, loosing track of the state it’s in (DATA/COMMAND or IDLE) etc. So I started writing a new version from scratch.

The biggest changes in the new driver class are:

  • AT Command interface sepperated from the general GM862 class. This class is the base of all communication with the device. It now holds a central FIFO for recieved data and functions to recieve and send lines of text.
     
  • Unsolicitated responses are stored in a special Queue that is handled on a user function instead of a seperate thread. This has the bennefit that you can control the moment that the responses are handled. This helps to make sure the handling doesn’t interfere with some of your block of commands.
     
  • Also unsolicitated responses are fetched from the FIFO to the Queue on execution of a function.So if you want to make sure you get all responses quickly you can run a dummy AT command.
     
  • The functions are split up in "modules". The module now includes the following modules: GSM, GPRS, GPS, TextMessaging and Networking. Networking is in a very early state and only has one command at this moment.
     

Stability seems to be improved a lot. With 3 unsolicitated GPS and GSM Info responses a second the interface kept on invoking commands al night without error.

Download:

The driver class is released as part of the  .NET Micro Framework toolkit. This toolkit was originaly named mschwarztoolkit and build by Michael Schwarz. We’ve decided to join forces to help the MF community. This joining of forces is in a early start but expect great things of it!

The MFToolkit website on CodePlex can be found here: http://www.mftoolkit.net/

Documentation:

There is a demo application included in the solution. Expect more info to come available soon.

 

 

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • NuJIJ
  • Technorati
  • Yahoo! Bookmarks
Categories: Just Blog'ing Tags: , , , ,
  1. Flyte
    March 16th, 2009 at 16:29 | #1

    Ahh excellent! I was planning on writing my own driver for this device, but you got there before me :)

    Thanks for your work! I’ll test it out within the next week or two and give some feedback.

    Cheers!

  2. April 7th, 2009 at 19:39 | #2

    Embedded Master now includes a PPP stack so you can access sockets directly from Telit 3G GPRS Modules. Give it a try :)

  3. April 8th, 2009 at 07:23 | #3

    @GHI Nice to hear.. I’m very busy at work at the moment (therefore the lack of posts on my blog lately) but I’m sure to check it out! It’s a nice feature you’ve added!

  4. April 9th, 2009 at 23:53 | #4

    Check this project that gets an image from IP camera over 3G network using PPP stak and Telit modem

    http://www.tinyclr.com/project/25

  1. No trackbacks yet.