FXT009-AirVantage : connexion problem


#1

Hello,
I have the Fxt009 ( R7.52.0) and i used the developer Studio (3.6.0) to send data to AirVantage.
URL Server: eu.airvantage.net
I followed those tutorials :
https://source.sierrawireless.com/resources/airvantage/educational_documentation/tutorial_airvantage_openat_devstudio_app/
[url]https://forum.sierrawireless.com/t/how-to-change-the-server-used-for-device-mgt/7403/1]

I have a problem : I tried to send a message ‘Hello world’ to AirVantage with -AVSampleDemo- and i didn’t receive it .
I received data only by OMADM for device management (picture attached).

Here is what i get:

2017-08-08 14:44:55 GENERAL-INFO: Module [Modem] initialized
2017-08-08 14:44:56 GENERAL-INFO: Module [SMSBearer] initialized
2017-08-08 14:44:56 GENERAL-INFO: Module [ServerConnector] initialized
2017-08-08 14:44:56 GENERAL-INFO: ReadyAgent successfully initialized
TRC_ASYNC_SAMPLE:	AWT_TRACE: sample_entryPoint
[WIP] new TCPCLIENT 0x181a4868
[WIP] new spawned TCPCLIENT 0x181a4468
2017-08-08 14:44:56 ASSCON-INFO: Received an asset connection from 127.0.0.1:49152
2017-08-08 14:44:58 SRVCON-INFO: Send http request to http://m2mop.net/device/com, body size = 34
[WIP] new TCPCLIENT 0x181a4a78
[WIP] closing TCPCLIENT 0x181a4a78
[GPRS]: open: -> DISCONNECTED
[GPRS]: start: -> CONNECTING
2017-08-08 14:44:58 BEARER-INFO: Bearer start: in progress...
[GPRS]: GPRS CTX (cid=4) found
[GPRS]: GPRS EVENT SETUP OK (cid=4): GPRS activate
[GPRS]: GPRS CTX (cid=4) found
[GPRS]: GPRS EVENT: 27 (cid=4)
[GPRS]: GPRS CTX (cid=4) found
[GPRS]: GPRS EVENT ACTIVATE OK (cid=4)
[GPRS]: GPRS: -> CONNECTED
2017-08-08 14:45:04 BEARER-INFO: Bearer start: success
2017-08-08 14:45:04 NETMAN-INFO: 'GPRS' mounted
2017-08-08 14:45:04 NETMAN-INFO: Selected, default route through 'GPRS'
[WIP] new UDP 0x181a5208
[WIP] new TCPCLIENT 0x181a52e8
[WIP] new TCPCLIENT 0x181a5428
[WIP] closing TCPCLIENT 0x181a52e8
2017-08-08 14:45:07 SRVCON-INFO: Send http request to http://m2mop.net/device/com, body size = 74
[WIP] new TCPCLIENT 0x181a4348
[WIP] closing TCPCLIENT 0x181a5428
[WIP] closing TCPCLIENT 0x181a4348
2017-08-16 08:09:03 TIME-INFO: Time successfully synchronized to Wed Aug 16 08:09:03 2017, applied offset: 6.674344126879e5s
[WIP] closing UDP 0x181a5208
AWTDACOM_FORCE_CONNECTION_TO_SERVER_EVENT success

2017-08-16 08:09:06 SRVCON-INFO: Send http request to http://m2mop.net/device/com, body size = 34
[WIP] new TCPCLIENT 0x181a5208
[WIP] closing TCPCLIENT 0x181a5208

+WDSI: 4

+WDSI: 6

+WDSI: 8
at+wdss=1,1
OK

+WDSI: 4

+WDSI: 8

Thanks in advance.



#2

I resolved this problem :smiley:

  1. I made a change in the model file “.app” (e.g. AVSampleDemo.app).
  2. I Selected the file.dwl (e.g. AVSampleDemo.dwl) in this folder: “[Target]_ARM_EABI_GCCfolder_Debug” and i copy & paste it in the Model folder.
  3. I created a zip file with .app and .dwl file.
  4. Finally, i uploaded zip file in AirVantage.

Here is my xml code in “AVSampleDemo.app” :

<?xml version="1.0" encoding="ASCII"?>
<appmodel:application xmlns:appmodel="http://www.sierrawireless.com/airvantage/application/1.0" type="Telnet.AVSampleDemo Sample" name="AVSampleDemo Sample" revision="1.0.0.20170817122342">
  <capabilities>
    <communication>
		<protocol comm-id="IMEI" type="AWTDA2" >
			<parameter name="sms-binary" value="false" />
		</protocol>
    </communication>
    <data>
      <encoding type="AWTDA2">
        <asset id="MyAsset" default-label="AVSampleDemo">
          <variable path="message" default-label="Test message">
            <description>Test message</description>
          </variable>
          <setting path="setting" default-label="Test setting" type="int">
            <description></description>
          </setting>
          <node path="0" default-label="events">
            <description></description>
            <event path="100" default-label="MESSAGE_SET">
              <description></description>
            </event>
          </node>
          <command path="setMessage" default-label="Set message">
            <description></description>
            <parameter id="message" default-label="Message"/>
          </command>
        </asset>
      </encoding>
    </data>
  </capabilities>
  <application-manager use="SOFT_IDS"/>
  <binaries>
    <binary file="AVSampleDemo.dwl" type="FULL"/>
  </binaries>
</appmodel:application>