Author Topic: sample code : interface wavecom M1306B module  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

Offline A2Topic starter

  • Contributor
  • Posts: 44
sample code : interface wavecom M1306B module
« on: March 27, 2014, 04:03:39 am »
Is there any sample code available on how to interface wavecom module with the microcontroller ,

I have to write sms & send command to module which will send sms to further mobile.


Datasheet: http://www.mobitek.com.my/GSM_Modem/Fastrack_M1306B_User_Guide_rev003.pdf
 

Offline Harvs

  • Super Contributor
  • ***
  • Posts: 1204
  • Country: au
Re: sample code : interface wavecom M1306B module
« Reply #1 on: March 27, 2014, 09:11:02 am »
Really sample code for these sorts of things aren't going to help you, because it's pretty much as abstracted as you're going to get.

It's just a serial interface and the standard AT command set.

Whenever dealing with these sorts of things, I just get the AT command guide (a link is in that datasheet you listed), hook it up to a serial port on a PC, open a terminal application and start typing commands to it.  It's all human readable ascii, so you should be able to work out pretty quick what series of commands you need to achieve what you need.

Then just write your software to handle those commands in a state machine (or separate thread if you're on a multithreaded environment.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf