adammck / rubygsm

Ruby interface to AT-compatible GSM modems
48 stars 38 forks source link

Could this be used to make an http post using the AT commands for http requests? #4

Open angelo0000 opened 10 years ago

angelo0000 commented 10 years ago

I know that this library creates a connection to the GSM modem and provides the ability to send SMS messages. Could it be used to send AT commands to facilitate an HTTP post?

I am trying to find an abstraction layer on top of the AT command set to provide a simple HTTP client.

adammck commented 10 years ago

I don't see any reason why not, but I'm struggling to understand how that might be useful. I've seen wrappers which provide an HTTP interface to the modem, but never an AT-ish interface to HTTP. Do you have a particular use-case in mind?

On Jun 2, 2014, at 8:31 PM, Jake Dempsey notifications@github.com wrote:

I know that this library creates a connection to the GSM modem and provides the ability to send SMS messages. Could it be used to send AT commands to facilitate an HTTP post?

I am trying to find an abstraction layer on top of the AT command set to provide a simple HTTP client.

— Reply to this email directly or view it on GitHub.

angelo0000 commented 10 years ago

Adam, I have a raspberry pi with a cellular shield attached to the serial UART and you can only communicate with it via AT commands. I want to be able to post data from the pi to a remote server through the cellular shield. I am also using Ruby on the pi as my programming language. I'd like to find a way to make the cellular shield just act like a modem and my ruby code just use an off the shelf http client, but I have not figure out how to make the cellular shield work in that way yet. Trying to explore what the options are.