Reply by Tom Collins October 6, 20102010-10-06
I realize that this thread started with someone using an RCM3700, but there's a dyndns sample in Dynamic C 10 that you might be able to use as a reference. It requires the HTTP client library which didn't ship with DC 9.62, but you may be able to request a copy of it from Rabbit tech support.

-Tom
On Oct 6, 2010, at 4:19 AM, Dave McLaughlin wrote:
> DYN DNS is simply an HTTP post as far as I can tell. Look around on the net, there is sample code you should be able to port.
Reply by OmarP October 6, 20102010-10-06
Yes ! of course.

But if i need change some parameter at Rabbit or instruct it to make some (with a CGI for example), need that the modem answer the request, or as you say keep a conection open, or the GPRS should be answer a request ( as the old modem in auto answer mode). :-)

If not I can download to the rabbit a file to parser this with the new parameters when the rabbit make a connection

omar

--- In r..., "Dave McLaughlin" wrote:
>
> When I refer to dial up, I mean making the initial connection to the GPRS
> network. You simply stay connected and send data as and when you need to.
> You need to keep a connection open to the server to be able to receive data
> from it. If you lose the connection to the server and cannot get a new
> connection, drop the PPP connection and redial. This always fixes it for me.
>
> DYN DNS is simply an HTTP post as far as I can tell. Look around on the net,
> there is sample code you should be able to port.
>
> Dave...
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.axoninstruments.biz
> ---
>
> From: r... [mailto:r...] On
> Behalf Of OmarP
> Sent: 06 October 2010 18:04
> To: r...
> Subject: [rabbit-semi] Re: GPRS on Ethernet
>
>
> Thanks Dave
> When you say the unit dial, you are referring to the rabbit ?
>
> You want to say that the rabbit make a dual up and upload to a server with
> your news (in XML for example), and then, the local server acces to this
> information ?
>
> Then the rabbit download your news instructions from de administration
> server ?
>
> The problem I see with this scheme is that if there is serius problem to
> report (an unathorized open of the devide door for example), I have not
> report until the next download.
> Your scheme work in this way ?
>
> For another hand. Can I with dynamic C access to account on www.dyndns.org
> or anothers HYN DNS to administrate the change of IP .
>
> thank you to all !!!!
>

Reply by Dave McLaughlin October 6, 20102010-10-06
When I refer to dial up, I mean making the initial connection to the GPRS
network. You simply stay connected and send data as and when you need to.
You need to keep a connection open to the server to be able to receive data
from it. If you lose the connection to the server and cannot get a new
connection, drop the PPP connection and redial. This always fixes it for me.

DYN DNS is simply an HTTP post as far as I can tell. Look around on the net,
there is sample code you should be able to port.

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---
http://www.axoninstruments.biz
---

From: r... [mailto:r...] On
Behalf Of OmarP
Sent: 06 October 2010 18:04
To: r...
Subject: [rabbit-semi] Re: GPRS on Ethernet

Thanks Dave
When you say the unit dial, you are referring to the rabbit ?

You want to say that the rabbit make a dual up and upload to a server with
your news (in XML for example), and then, the local server acces to this
information ?

Then the rabbit download your news instructions from de administration
server ?

The problem I see with this scheme is that if there is serius problem to
report (an unathorized open of the devide door for example), I have not
report until the next download.
Your scheme work in this way ?

For another hand. Can I with dynamic C access to account on www.dyndns.org
or anothers HYN DNS to administrate the change of IP .

thank you to all !!!!
Reply by OmarP October 6, 20102010-10-06
Thanks Dave
When you say the unit dial, you are referring to the rabbit ?

You want to say that the rabbit make a dual up and upload to a server with your news (in XML for example), and then, the local server acces to this information ?

Then the rabbit download your news instructions from de administration server ?

The problem I see with this scheme is that if there is serius problem to report (an unathorized open of the devide door for example), I have not report until the next download.
Your scheme work in this way ?

For another hand. Can I with dynamic C access to account on www.dyndns.org or anothers HYN DNS to administrate the change of IP .

thank you to all !!!!
--- In r..., "Dave McLaughlin" wrote:
>
> Yes, all correct. Remember, even if the GSM operator gives you a public IP,
> it is likely to change (dynamic) every time you dial up over PPP so you will
> need to implement some kind of DYN DNS (www.dyndns.org) to be able to find
> it on the internet.
>
> Dynamic C with PPP will appear as if it were connected via Ethernet. I have
> tested this and it worked for me.
>
> If you are doing M2M why not have the unit dial into a server on the
> Internet and then upload its data to the server. The server then has a
> webserver which you can then access. This allows a single access point for
> you all your remote units, assuming you are developing more than 1?
>
> Dave...
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.axoninstruments.biz
> ---
>
> From: r... [mailto:r...] On
> Behalf Of OmarP
> Sent: 06 October 2010 16:07
> To: r...
> Subject: [rabbit-semi] Re: GPRS on Ethernet
>
>
> OK I understand this...
>
> It is the "only" problen. That is to say, if i get a Public IP i should be
> access to my web server without problem. Is this correct ?. The dynamic c
> with PPP can serve the pages without problem ?.
>
> In this scheme (with a IP with NAT), my device only can send to out some:
> for example an e-mail via smtp server, but another machine in internet
> cannot access to web pages.
>
> If it correct, before advance with develope, I look for an operators with
> public IP, because I thing make some as M2M service.
>
> Thank you very much for yours responses
>
> Regards !
>

Reply by Maurits van de Kamp October 6, 20102010-10-06
And then your device will be probed 24 hours a day by script kiddies
and worms, which will give you a huge data bill. :-)

Maurits.
Op Oct 6, 2010, om 12:38 PM heeft Dave McLaughlin het volgende
geschreven:

> Yes, all correct. Remember, even if the GSM operator gives you a
> public IP, it is likely to change (dynamic) every time you dial up
> over PPP so you will need to implement some kind of DYN DNS
> (www.dyndns.org) to be able to find it on the internet.
>
> Dynamic C with PPP will appear as if it were connected via
> Ethernet. I have tested this and it worked for me.
>
> If you are doing M2M why not have the unit dial into a server on
> the Internet and then upload its data to the server. The server
> then has a webserver which you can then access. This allows a
> single access point for you all your remote units, assuming you are
> developing more than 1?
>
> Dave...
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.axoninstruments.biz
> ---
>
> From: r... [mailto:rabbit-
> s...] On Behalf Of OmarP
> Sent: 06 October 2010 16:07
> To: r...
> Subject: [rabbit-semi] Re: GPRS on Ethernet
> OK I understand this...
>
> It is the "only" problen. That is to say, if i get a Public IP i
> should be access to my web server without problem. Is this
> correct ?. The dynamic c with PPP can serve the pages without
> problem ?.
>
> In this scheme (with a IP with NAT), my device only can send to out
> some: for example an e-mail via smtp server, but another machine in
> internet cannot access to web pages.
>
> If it correct, before advance with develope, I look for an
> operators with public IP, because I thing make some as M2M service.
>
> Thank you very much for yours responses
>
> Regards !
>
Reply by Dave McLaughlin October 6, 20102010-10-06
Yes, all correct. Remember, even if the GSM operator gives you a public IP,
it is likely to change (dynamic) every time you dial up over PPP so you will
need to implement some kind of DYN DNS (www.dyndns.org) to be able to find
it on the internet.

Dynamic C with PPP will appear as if it were connected via Ethernet. I have
tested this and it worked for me.

If you are doing M2M why not have the unit dial into a server on the
Internet and then upload its data to the server. The server then has a
webserver which you can then access. This allows a single access point for
you all your remote units, assuming you are developing more than 1?

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---
http://www.axoninstruments.biz
---

From: r... [mailto:r...] On
Behalf Of OmarP
Sent: 06 October 2010 16:07
To: r...
Subject: [rabbit-semi] Re: GPRS on Ethernet

OK I understand this...

It is the "only" problen. That is to say, if i get a Public IP i should be
access to my web server without problem. Is this correct ?. The dynamic c
with PPP can serve the pages without problem ?.

In this scheme (with a IP with NAT), my device only can send to out some:
for example an e-mail via smtp server, but another machine in internet
cannot access to web pages.

If it correct, before advance with develope, I look for an operators with
public IP, because I thing make some as M2M service.

Thank you very much for yours responses

Regards !
Reply by OmarP October 6, 20102010-10-06
OK I understand this...

It is the "only" problen. That is to say, if i get a Public IP i should be access to my web server without problem. Is this correct ?. The dynamic c with PPP can serve the pages without problem ?.

In this scheme (with a IP with NAT), my device only can send to out some: for example an e-mail via smtp server, but another machine in internet cannot access to web pages.

If it correct, before advance with develope, I look for an operators with public IP, because I thing make some as M2M service.

Thank you very much for yours responses

Regards !

--- In r..., "Dave McLaughlin" wrote:
>
> No, you will not be able to access the webpages on it over GPRS unless the
> GSM network you are using gives you a static IP and then you would need to
> know this IP to access it. Here in Indonesia only one of the operators gives
> you a public IP which you can then access the remote device with. All the
> others use private IP's with NAT.
>
> Dave...
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.axoninstruments.biz
> ---
>
> From: r... [mailto:r...] On
> Behalf Of OmarP
> Sent: 06 October 2010 05:52
> To: r...
> Subject: [rabbit-semi] Re: GPRS on Ethernet
>
>
> Sorry, I have made the latter question before read some samples and
> applications notes for GPRS with Rabbit
>
> I understand now that i need config the rs232 port of the Rabbit, and after
> the connection is established, the comunications recieved into the serial
> port go to TCP/IP stack and backward via PPP.
>
> I understand correctly??? ;-)
>
> If yes : Can I use any serial rs232 port Modem GPRS to access to web pages
> downloaded in the rabbit ?. Or this modem must have some special feature ?
>
> Thank you in advance
>

Reply by Dave McLaughlin October 6, 20102010-10-06
No, you will not be able to access the webpages on it over GPRS unless the
GSM network you are using gives you a static IP and then you would need to
know this IP to access it. Here in Indonesia only one of the operators gives
you a public IP which you can then access the remote device with. All the
others use private IP's with NAT.

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---
http://www.axoninstruments.biz
---

From: r... [mailto:r...] On
Behalf Of OmarP
Sent: 06 October 2010 05:52
To: r...
Subject: [rabbit-semi] Re: GPRS on Ethernet

Sorry, I have made the latter question before read some samples and
applications notes for GPRS with Rabbit

I understand now that i need config the rs232 port of the Rabbit, and after
the connection is established, the comunications recieved into the serial
port go to TCP/IP stack and backward via PPP.

I understand correctly??? ;-)

If yes : Can I use any serial rs232 port Modem GPRS to access to web pages
downloaded in the rabbit ?. Or this modem must have some special feature ?

Thank you in advance
Reply by OmarP October 5, 20102010-10-05
Sorry, I have made the latter question before read some samples and applications notes for GPRS with Rabbit

I understand now that i need config the rs232 port of the Rabbit, and after the connection is established, the comunications recieved into the serial port go to TCP/IP stack and backward via PPP.

I understand correctly??? ;-)

If yes : Can I use any serial rs232 port Modem GPRS to access to web pages downloaded in the rabbit ?. Or this modem must have some special feature ?

Thank you in advance

--- In r..., "OmarP" wrote:
>
> Thank you for yours answers, but i can not uderstand this:
>
> Need I do a physical connection from UTP RJ 45 ethernet cable to somehow to the modem GPRS , or the library PPP of Dynamic C make a bridge from web server to PPP connection ->modem ?
>
> Sorry if it a dumb question, but i need to make for undersand the concept.
>
> For another hand: Which GPRS modem can you suggest to this application ?
>
> best regards
> --- In r..., Scott Henion wrote:
> >
> > On 10/5/2010 6:13 AM, OmarP wrote:
> > > Hello,
> > > I'm analizing connect my product developed on RCM3700 to GPRS. This product has a web server and it can be setting and monitoring from any web explorer.
> > >
> > > I thing in some modem GPRS with Lan Connection, but there are very few. There are many more with Rs-232 Connection.
> > >
> > > The question is if there is any way to make public the RCM3700 IP ussing a GPRS RS-232 modem. My product has not RS-232 but I try activate this to program the modem.
> > >
> > > I'm sorry, but I am some confused with this.
> > >
> > > Thank you in advance
> >
> > I have used CDMA/GPRS/GSM modems with rabbit boards. Basically you send
> > commands to make the connection then start a PPP connection on the port.
> >
> > There are samples in the PPP section in the samples directory. I also
> > think ZW sells a GPRS development kit that may have more examples (M2M
> > dev kit.) There are docs for the M2M in the docs/appkit directory.
> >
> > --
> > ------
> > Scott G. Henion, Consultant
> > Web site: http://SHDesigns.org
> > Rabbit libs: http://shdesigns.org/rabbit/
> > ------
>

Reply by OmarP October 5, 20102010-10-05
Thank you for yours answers, but i can not uderstand this:

Need I do a physical connection from UTP RJ 45 ethernet cable to somehow to the modem GPRS , or the library PPP of Dynamic C make a bridge from web server to PPP connection ->modem ?

Sorry if it a dumb question, but i need to make for undersand the concept.

For another hand: Which GPRS modem can you suggest to this application ?

best regards
--- In r..., Scott Henion wrote:
>
> On 10/5/2010 6:13 AM, OmarP wrote:
> > Hello,
> > I'm analizing connect my product developed on RCM3700 to GPRS. This product has a web server and it can be setting and monitoring from any web explorer.
> >
> > I thing in some modem GPRS with Lan Connection, but there are very few. There are many more with Rs-232 Connection.
> >
> > The question is if there is any way to make public the RCM3700 IP ussing a GPRS RS-232 modem. My product has not RS-232 but I try activate this to program the modem.
> >
> > I'm sorry, but I am some confused with this.
> >
> > Thank you in advance
>
> I have used CDMA/GPRS/GSM modems with rabbit boards. Basically you send
> commands to make the connection then start a PPP connection on the port.
>
> There are samples in the PPP section in the samples directory. I also
> think ZW sells a GPRS development kit that may have more examples (M2M
> dev kit.) There are docs for the M2M in the docs/appkit directory.
>
> --
> ------
> Scott G. Henion, Consultant
> Web site: http://SHDesigns.org
> Rabbit libs: http://shdesigns.org/rabbit/
> ------
>