Go Down

Topic: how to use Cellular Shield with SM5100B (Read 8 times) previous topic - next topic

Manny

I have this shield(http://www.sparkfun.com/commerce/product_info.php?products_id=9607).I new to this...all I want to do is send a simple text message...any help?Also if possible, turn the module on when I text it the number "1" or anything.

kierin

This sequence sends a text message;

Serial.println("at+cmgf=1");
Serial.println("at+cmgs=\"214244****\"");
Serial.print("This is my message");
Serial.write(26); // this is ctrl-z

dozer

I get an error for this with NewSoftserial "Serial.write(26); // this is ctrl-z"
how do i send it instead

really noob here

PaulS

Quote
I get an error for this

My crystal ball is covered with fingerprints, and I'm out of Windex.

What error are you getting?

dozer

sorry dude
When i compile i get following error

C:\Program Files (x86)\arduino-0018\libraries\NewSoftSerial/NewSoftSerial.h:71: error: 'virtual void NewSoftSerial::write(uint8_t)' is private

error: within this context


and it indicates on this row
cell.write(26); // this is ctrl-z

Go Up