otap headers user-agent | Telit Cinterion IoT Developer Community
January 22, 2015 - 3:08pm, 3316 views
In the documentation (BGS5 java guide v19 p 8.7) there is written for OTAP that
OTAP: All HTTP packets (GET, POST) sent by the module contain the IMEI number in the User-Agent field, e.g.
User-Agent: <productname>/000012345678903 Profile/IMP-NG Configuration/CLDC-1.1
But i only receive headers without user-agent
Via: 1.1 vegur
Connection: close
Host: requestb.in
X-Request-Id: 6b53305e-5d88-49d1-af58-7cd8d4d3f633
Connect-Time: 2
Content-Length: 11
Accept: */*
Total-Route-Time: 0
RAW body:
900 Success
Can somebody comment?
Hello,
How about this problem status - did you managed to receive the User-Agent header?
Nobody has reported such problems so far but if it still exists we will investigate this.
Maybe this could be also the server side problem?
Best regards,
Bartłomiej
it seems that user-agent header is only present when otap is initiated by SMS
i will confirm this.
BR
Final Results:
1. if AT^SJOTAP parameter <NotifyUrl> is present, the user-agent is present in otap notification
2. using MIDlet-Install-Notify and MIDlet-Delete-Notify urls in .jad file will perform notification, but without user-agent header
Issue resolved, thanks
Hello,
1. This is correct.
2. This is very interesting. It's not explicitly described in the documentation. There is only information that in case of MIDlet-Install-Notify and MIDlet-Delete-Notify the format of the posted URL complies with the IMP-NG OTA Provisioning specification. It is probably the answer - there is no User-Agent field described there. But still this is not clear.
Thank you for pointing this out.
Best regards,
Bartłomiej