EHS5 rev.04 domain name in OTAP | Telit Cinterion IoT Developer Community
July 16, 2020 - 9:39am, 2332 views
Hello!
I am working on SW development of EHS5 modems and ran into some problems when migrating from rev.03 to rev.04.
On rev.03 I had no problems using the following OTAP command for contacting server based on either domain name or IP:
AT^SJOTAP=,"http://mysite.ru:801/Service.jad","",,,"GPRS","internet.mts.ru","mts","mts","",,"on","on"
(without even specifying DNS server)
On rev.04 it works with IP address but doesn't work with domain name.
AT^SJOTAP=,"http://mysite.ru:801/Service.jad","a:",,,"GPRS0","internet.mts.ru","mts","mts","8.8.8.8",,"on","on",
It gives an error "JAD server not found".
Mysite domain name is on the DNS server 8.8.8.8, I checked. I've tried other DNS servers, but result is the same.
Could you please advise me how to fix this?
Hello,
Please make sure if the server link is correct. I tried your link with both versions and got server not found on both. Please insert IP instead of domain name for test if you suspect DNS issue.
Regards,
Bartłomiej
Thanks for fast reply!
Excuse me, the link is **** (corporate ethics), the real link with domain name works, it downloads through the Сhrome browser without problems
And how about IP address? Does it work or not?
Yes, on rev.04 it works with IP address
I tried on both revisions without specifying DNS address with our test server and in both cases it worked with domain name. So it seems strange to me that it does not work with rev4 in your case. Are you sure that this address still works with rev3? Maybe there's some other reason like too many redirections or something else.
Hi!
Yes, it works on rev3
I didn't solve this problem, but can show you link on my server and OTAP trace.
But with domain name:
Hello,
I'm sorry for the late answer but I was out of office for the last 2 weeks.
I tested your links with my EHS5-E REVISION 04.003 A-REVISION 01.000.04 module and it did work for both 8.8.8.8 DNS and no DNS specified.
Please check your firmware version with ATI1 command. Do you have another module of the same type to compare?
Here's my log:
[OTAP] Parameters set for current procedure:
[OTAP] JAD File URL: http://cloud-control.ru:902/WatchDog.jad
[OTAP] Hide HTTP Authentication Params: on
[OTAP] Bearer: GPRS0
[OTAP] Apn : internet
[OTAP] Net User:
[OTAP] Net Pwd:
[OTAP] DNS: 8.8.8.8
[OTAP] Ignore SMS PID Check: on
[OTAP] ====================================================================
[OTAP] Starting OTAP download operation
[OTAP] Stopping all midlets
[OTAP] No Midlets running
[OTAP] PS detach success
[OTAP] Starting installation
[OTAP] Try to get http://cloud-control.ru:902/WatchDog.jad ...
[OTAP] Transfer finished.
[OTAP] Update of existing midlet
[OTAP] JAR file download
[OTAP] Try to get http://cloud-control.ru:902/WatchDog.jar ...
[OTAP] Transfer finished.
[OTAP] Installation completed with result: 900 Success
[OTAP] No NotifyURL set. Not posting result.
[OTAP] DONE with status: No Error
[OTAP] Operation OK
[OTAP] Reboot now
Regards,
Bartłomiej
Hello, i have the same problem on 2 modems.
first:
Cinterion
EHS5-E
REVISION 03.001
A-REVISION 00.000.14
second:
Cinterion
EHS5-E
REVISION 04.000
A-REVISION 01.000.05
what do i need to do?
and also i have problem to update by https. is sjotap command by https different from command by http?
Hello,
Please paste the OTAP tracer logs. Is it the same for both modules? It should work the same both for http and https.
Regards,
Bartłomiej