Gprs


#1

Hi,

I would like to send data via GPRS. I must establish a PDP context using AT commands, but I don’t know how do…
I must also recover IPCP informations like IP address and DNS.

I’m a little lost…

Thank

sorry for my english!


#2

If your goal is just to use TCP/IP over GPRS, you just need to use wipsoft, with the AT+WIP… commands.
It manages the PDP layer for you.


#3

Thanks for your answer.

I use WIP but I’ve a little problem with the WIP’s plug-in. I make a link in this plug-in but there is an error during the compilation:

… Dependency graph is being built …
…/out/gcc_Hello_World.dep
…/…/src/hello_world.c:1:24: wip_bearer.h: No such file or directory
make[1]: *** [depend_c] Error 1
make: *** […/out/gcc_Hello_World.dep] Error 2
Done.

I don’t understand why it doesn’t find wip_bearer.h in spite of my link :angry:


#4

That the program has learned about connection WIP it is necessary at creation of the project in window Linked Plug-ins to press button Add and to choose from the list library WIP


#5

The problem was that I’ve written #include <wip_bearer.h> instead of #include “wip_bearer.h” :laughing:

However I’ve another problem with the Target Monitoring Tool. It displays this
Trace RTK 6 Unable to find the string of the remote trace in the file (ID = 11899)
Trace RTK 6 Unable to find the string of the remote trace in the file (ID = 11899)
Trace RTK 6 Unable to find the string of the remote trace in the file (ID = 11900)

instead of the traces of my program. I don’t understand why. I also watch the FAQ but it doesn’t help me…


#6

No it’s good.
I’ve just found the solution in the Tools Manual… :slight_smile:


#7

Hi,

Can someone explain the trace, that i obtained, using WIP’s plug-in:
Trace 30 [ADL PORT] subs (00212A7D) : 0
Trace 20 [ADL] tmr subs ; id 0 ; hdlr 002112F1 ; val 10 ; cycl 0
Trace 30 [ADL PORT] event : 0 (port 80 ; state 0)
Trace 21 Get Mem 0106176C
Trace 30 [ADL PORT] event : 0 (port 01 ; state 0)
Trace 21 Get Mem 010617A8
Trace 22 [ADL] flash subs 1 : -4
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 22 Flh Obj 0000 Len : 4
Trace 22 Read Flh Obj 0000 (4) : 0
Trace 30 SIM subs 002122A9
Trace 21 Get Mem 01061FF8
Trace 21 Rel Mem 01061FF8
Trace 21 Get Mem 01062104
Trace 21 Rel Mem 01062104
Trace 21 Get Mem 010621A8
Trace 21 Rel Mem 010621A8
Trace 21 Get Mem 01062254
Trace 20 [ADL] tmr subs ; id 1 ; hdlr 0021700D ; val 5 ; cycl 0
Trace 21 Rel Mem 01062254
Trace 21 Get Mem 01062328
Trace 1 Embedded Application : Main
Trace 21 Rel Mem 01062328
Trace 21 Get Mem 010622E0
Trace 21 Rel Mem 010622E0
Trace 21 Get Mem 010623BC
Trace 20 [ADL] tmr subs ; id 2 ; hdlr 0021700D ; val 5 ; cycl 0
Trace 21 Rel Mem 010623BC
Trace 21 Get Mem 01062524
Trace 20 [ADL] tmr subs ; id 3 ; hdlr 0021700D ; val 5 ; cycl 0
Trace 21 Rel Mem 01062524
Trace 21 Get Mem 01062590
Trace 30 SIM event 2
Trace 21 Rel Mem 01062590
Trace 21 Get Mem 0106268C
Trace 30 SIM event 5
Trace 21 Rel Mem 0106268C
Trace 21 Get Mem 01061F44
Trace 21 Rel Mem 01061F44
Trace 21 Get Mem 01061F44
Trace 30 SIM event 3
Trace 21 Rel Mem 01061F44
Trace 21 Get Mem 01061F8C
Trace 21 Rel Mem 01061F8C
Trace 21 Get Mem 0106201C
Trace 21 Rel Mem 0106201C

Thanking you in anticipation…