GPRS/SMS shield help please
#1
Posted 17 December 2011 - 11:27 PM
#2
Posted 06 January 2012 - 07:49 PM
Could anyone recommend a good shield to purchase and perhaps some sample code to get me going. I would to be able to send and receive text messages using the Netduino. These are the 2 devices that I'm thinking of going for:
Alternatively if I phone the Netduino then some form of event is triggered.
Many thanks!!!!
I'm dooing a netduino library for the seed studio gprs. I have partial SMS functionality and are able to place calls. I think recieving calls also would be easy..
http://netduino2seedgsm.codeplex.com/
#3
Posted 06 January 2012 - 08:16 PM
I'm dooing a netduino library for the seed studio gprs. I have partial SMS functionality and are able to place calls. I think recieving calls also would be easy..
http://netduino2seedgsm.codeplex.com/
Hey, that's fantastic! I will have a play with this and let you know how I get on at the weekend.
Nice one
#4
Posted 06 January 2012 - 10:38 PM
I'm dooing a netduino library for the seed studio gprs. I have partial SMS functionality and are able to place calls. I think recieving calls also would be easy..
http://netduino2seedgsm.codeplex.com/
Making a bit more progress, I've imported your library and added this to my test program:
public static void Main()
{
seeduinoGSM.seeduionoGSM test = new seeduinoGSM.seeduionoGSM();
test.placeCall("a mobile number here");
}
When I run the program I get no errors but no phone call. Do I need to power the SM5100B shield via another means instead of trying to power it from the netduino? I've plugged the netduino into GRD and the VIN pin, is that correct?
Thanks!!!
#5
Posted 09 January 2012 - 01:36 AM
#6
Posted 19 January 2012 - 01:30 PM
You have the same board? I just power it with the USB cable, so far no need to give it any more.
When I run the program I get no errors but no phone call. Do I need to power the SM5100B shield via another means instead of trying to power it from the netduino? I've plugged the netduino into GRD and the VIN pin, is that correct?
Thanks!!!
I dont know if this is important, but what are your switch setting? Both of mine are in Xduino.
#7
Posted 22 January 2012 - 01:39 PM
>> I'm dooing a netduino library for the seed studio gprs
Great!
Will you add how to do an http GET ?
That is what I need....
Thanks a ton!
I've actually managed to make a http request, by porting the code from seeduiono wiki. I am not really good at low level http. So all i get is an http error from the server. But there is definetly a hole through.
#8
Posted 22 January 2012 - 01:40 PM
BTW have you disabled the pin code on your simcard?You have the same board? I just power it with the USB cable, so far no need to give it any more.
I dont know if this is important, but what are your switch setting? Both of mine are in Xduino.
#9
Posted 30 January 2012 - 12:22 AM
This is the grail I am looking for....
Basically, from the "getting started with the internet of things" the ability to do the "SimpleGetRequest" via cellular.
Via wired ethernet, we do this:
public static string ProcessRequest(string requestUri) { using (var request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(requestUri)) { request.Method = "GET"; // send request and receive response using (var response = (System.Net.HttpWebResponse)request.GetResponse()) { Debug.Print("have a response, consuming...."); // consume response return HandleResponse(response); } } } public static string HandleResponse(System.Net.HttpWebResponse response) { etc...
Please do keep us posted!
#10
Posted 12 March 2012 - 07:47 PM
@dcypher: Any more progress on HTTP GET via cellular?
I've been a bit away from this project but the shield does post fine. I've had some http errors when i do GET, so i've just changed my server to accept post instead.
Check out the update and feel free to contribute to the GET part.
http://netduino2seedgsm.codeplex.com/
#11
Posted 28 March 2012 - 04:37 PM
#12
Posted 17 May 2012 - 11:44 AM
#13
Posted 11 July 2012 - 05:59 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users