Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Linux interfacing with GPRS Modem

Status
Not open for further replies.

sandeep_emb_linux

Newbie level 3
Joined
Mar 8, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
I have pxa255 arm target board with linux on flash and built on GPS Receiver and GPRS modem. I want to write a program which will read the NMEA string from GPS receiver serial port and send it to the server via gprs modem through internet.
I did the first part of reading the NMEA string, extractting the values.
Now how do I send the gprs packet. Here I think I will have to use socket programming. But how do i write it?
 

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
Hi
As I understand
If your GPRS modem supports TCP/IP so you just need to use AT commands to send data to the GPRS modem and it'll do the rest.
just search for GPRS on Edaboard "Embedded and Microcontroller"and you'll find much information

Salam
Hossam Alzomor
www.i-g.org
 

sandeep_emb_linux

Newbie level 3
Joined
Mar 8, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
No. The module in GPRS Modem doesn't have TCP/IP stack. May be pxa255 controller has tcp/ip stack in it.
Now how do I enable TCP/IP to run over serial link so that I can transfer data.?
 

sandeep_emb_linux

Newbie level 3
Joined
Mar 8, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
Hi,
I used SIMCOM GPRS Modem to connect to our server. Then I could successfully sent text data to the server. BUt I didn't establish ppp link. I just used AT commands for TCP/IP applications. I wanted to know when do we need to establish ppp over gprs??when do we write ppp and chat scripts?

Thanks,
Sandeep.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top