GSM Driver

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

GSM Driver

Post by Tabulous »

Hi thought i would just ask the question

Anyone implemented a GSM modem driver using ChibiOS and if so did you use UART or SERIAL driver for the implementation.

I'm asking as i need to do this, and normally when using GSM modem you have two states, AT command mode and Online data mode.

Any advice would be welcome :-)

Cheers
DrunkenDonkey
Posts: 124
Joined: Sun Aug 28, 2011 5:16 pm

Re: GSM Driver

Post by DrunkenDonkey »

I may need to do it later this year. Uart/serial - does it matter really? Uart had less overhed I think, serail will be easier for the commands, but unless you are shooting for some very high transfer speeds...
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: GSM Driver

Post by Tabulous »

Transfer speed is not an issue, also worth nothing, i'll be using the TCP/IP stack of the module.

My concern is pumping 10KByte XML files out to the modem when in online mode
DrunkenDonkey
Posts: 124
Joined: Sun Aug 28, 2011 5:16 pm

Re: GSM Driver

Post by DrunkenDonkey »

Then it really does not matter, go for serial and have fun.
Tabulous
Posts: 518
Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times

Re: GSM Driver

Post by Tabulous »

mmmm not sure serial driver is way to go here, it seems all the serial driver receive calls you need to specify number of bytes to read.............
DrunkenDonkey
Posts: 124
Joined: Sun Aug 28, 2011 5:16 pm

Re: GSM Driver

Post by DrunkenDonkey »

Dunno, I'll go for it when time comes :)
I mean it does cache data, so in command mode you read byte by byte to get the line end and command response, in data mode... well depends, some modems notify you about leaving data mode with ETX, so you again read byte by byte and interrupt when ETX is received, or... well, aint difficult either way
Post Reply