Gemalto is now part of the Thales Group, find out more.

You are here

Unable to set UserAgent (EHS6) - urgent | Thales IoT Developer Community

September 29, 2017 - 4:05pm, 3037 views

Hello,

I use a EHS6 modem to "get" data from our http servers.
Our devices are recognized by the User Agent, so, I set in the EHS6 memory, as URI, method, APN and so.
We had a very similary application with BGS2 (working fine).

After nearly one day searching, we are stucked with the ESH6 :
Our Apache server always see the "User Agent" as "EHS6/357042068469734 Profile/IMP-NG  Configuration/CLDC-1.1"

Nevertheless, the AT^SISS? command tells that the configuration is OK (see below).

URL is opened correctly, as data read.

Do I miss something ?
Is there any reasons why the UserAgent may not be set or transmitted ?
The problem occurs on our device using a EHS6, and the Gemalto development kit fitted with a EHS8.

Thanks a lot !!

Pascal

AT^SISS?
^SISS?                                                                       
^SISS: 0,"srvType",""
^SISS: 1,"srvType",""
^SISS: 2,"srvType",""
^SISS: 3,"srvType",""
^SISS: 4,"srvType","Http"
^SISS: 4,"conId","0"
^SISS: 4,"address","http://my.url.com/data"
^SISS: 4,"tcpMR","10"
^SISS: 4,"tcpOT","6000"
^SISS: 4,"cmd","get"
^SISS: 4,"hcUserAgent","DeviceV10/12345678"
^SISS: 5,"srvType",""
^SISS: 6,"srvType",""
^SISS: 7,"srvType",""
^SISS: 8,"srvType",""
^SISS: 9,"srvType",""
OK

 
AT^SISO=4
^SISO=4                                                                      
OK
^SIS: 4,0,2200,"Http my.url.com:80"
^SISR: 4,1

ATI1
I1                                                                           
Cinterion
EHS8
REVISION 03.001
A-REVISION 00.000.14
OK

PS : Accessing the URI with Firefox and the Firefox UserAgent modified works perfectly.