Change URL for AirVantage (WP Series)


#1

Hello everyone,
I have a little problem. I want to connect my device (Sierra Wireless AirPrime WP7102 - G Development Kit) with AirVantage. I have to use the EU server, but when I check the server with the LUA agent shell as described in the documentation (legato.io/legato-docs/14_07/ … ntage.html), I only get the NA server.
I tried to follow the steps I found in the forum (viewtopic.php?f=135&t=8127), but an employee of the AirVantage team told me that these steps don’t work on the WP series.
Can someone tell me how to change the URL of the server for the EU server on the WP series development kit?
Thank you!

Greets,
Daniel


#2

I did the following with my WP7104:

telnet localhost 2000

at the lua prompt:

tm=require’agent.treemgr’
tm.get(“config.server.url”)
id=tm.get(“config.server.url”)
print(id)
id=“tcp://eu.airvantage.net:44900"
tm.set(“config.server.url”,id)
id=”"
print(id)
id=tm.get(“config.server.url”)
print(id)
CTRL+D


#3

You can also do the following at the lua prompt:

agent.config.server.url="tcp://eu.airvantage.net:44900"
CTRL+D

legato restart

These instructions will be updated in our documentation.


#4

Thank you for your responses! I successfully changed the URL of the server.
But I still cannot connect via the LUA shell. All I get is the following:

:agent.srvcon.connect()
= nil
= “Timeout expired, unable to request connection”

I have an inserted SIM card and I can start voice calls and send and receive SMS, but for a reason I cannot connect to the AirVantage server. Can someone help me out?
Here is some more information:

ati
Manufacturer: Sierra Wireless, Incorporated
Model: WP7102
Revision: SWI9X15W_06.03.17.00 r23799 CNSHZ-AR-BUILD 2014/08/08 13:02:24
MEID: 35560305000115
ESN: 12802438458, 8025353A
IMEI: 355603050001157
IMEI SV: 0
FSN: HM342500150703
+GCAP: +CGSM,+FCLASS,+DS

at!gstatus?
!GSTATUS:
Current Time: 716 Temperature: 28
Bootup Time: 6 Mode: ONLINE
System mode: GSM PS state: Attached
GSM band: GSM900
GSM channel: 72
GMM (PS) state:REGISTERED NORMAL SERVICE
MM (CS) state: IDLE NORMAL SERVICE

Serving Cell: 72 (GSM 900 )
RX level (dBm):-65.3750 LAC: 1C4C (7244)
GPRS State: GPRS STANDBY Cell ID: 00002C7F (11391)


#5

It sounds like your data connection profile isn’t setup properly, which is why you are seeing the “Timeout expired, unable to request connection” error.

You can check your data connection profile configuration using the on target ‘cm’ tool.

e.g.
root@swi-mdm9x15:~# cm data
Index:     1
APN:       internet.com
PDP Type:  IPV4

If your apn/pdp type is incorrect, you can modify it using the following commands

To set apn for profile in use:
        cm data apn <apn>

To set pdp type for profile in use:
        cm data pdp <pdp>

To test if your data connection will work, you can run

root@swi-mdm9x15:~# cm data connect
rmnet0 connected <-- This will indicate that your data connection was successful.

To kill data connection, run CTRL+C which will disconnect your connection.

Once your data connection is setup correctly, try connecting via the LUA shell again.


#6

Hello,
Thanks for the reply!
I tried to type in what you wrote, but I still cannot connect.
Now my profile looks like this:

root@swi-mdm9x15:~# cm data
Profile: 1
APN: internet.com
PDP Type: IPV4

But when I try to connect with the command “cm data connect” nothing happens. I’ve waited 1 hour before I pushed Ctrl+C.
Do I have to change something in the config?

Greets,
Daniel


#7

Hi,
sorry I am a total newbie in that stuff, so I didn’t know what APN I had to choose. Now I looked in the internet for the right APN for vodafone and found the following: web.vodafone.de.
Now this is my new APN and it works. Thank you for your help!

BR,
Daniel