How to start "IP Connection for remote debugging of BGSx" manually? | Telit Cinterion IoT Developer Community
May 26, 2015 - 7:53pm, 4426 views
For service and debugging reasons I want to start the "IP connection for remote debugging of BGSx" without using eclipse.
When I try to connect by double clicking the appropiate network connection (shown below), I get an error 738: No address assigned by the server.
Is there a way to manually start this IP connection without eclipse?
Similiat way would be that you use AT command AT^SCFG="Userware/Stdout","ASC0","65535","a:/debug.log","secure" to print debugging messages at ASC0 or ASC1.
Then you just connect with RS232 to ASC0 or ASC1, open terminal on that port and all debugging messages will be displayed there.
Before that happens you must upload application to the module and then install and run your MIDlet with AT^SJAM command.
I hope that it helps.
Regards
Jure
Unfortunately not, consider this scenario:
We want our customers to be able to configure our Firmware with a Web-Browser. For this reason we have a small web server running on the BGS5T. It should be possible to do configuration offline, with the BGS5T connected to PC via USB cable, with no SIM installed. Customer should be able to configure APN, passwords and whatever, with our web configuration page, since we don't know wich provider our Customer chooses.
In development enviroment (BGS5T connected to PC via USB cable, with eclipse) it's possible to access the BGS5T with the IP address 192.168.244.1
So I'm looking for a way our customers can connect to the BGS5T via the "IP Connection for remote debugging of BGSx", just by installing some drivers, without having to install eclipse.
Is that possible?
Regards,
Helmut
I understand. But I don't know if it's possible, Bartłomiej will probably be able to tell you more.
For achieving what you want. If you want just, that customer configures application trough some PC application, it also possible that you make some program with GUI or local (JavaScirpt + HTML5) application which will write this data in to .txt file and transfer it to Module memory. It's not what you had in mind, but you can achieve same thing.
For example you can see my configurator program in Java: https://iot-developer.thalesgroup.com/threads/program-sspi-configuration-gpios , which enables user to do some basic settings. I made new version which has a lot more function, so it can also install, delete programs, read init files, upload download files from modules memory and such. But that one is not for public use.
I hope that I didn't go to much offtopic.
Regards
Jure
Hello,
This feature was intended for the purpose of remote debugging or running the application only. Besides Eclipse/Netbeans this also comprises some additional software that is installed on PC and module's firmware. I'm not sure if it would be possible to use a part of that for the purpose custom module-PC communication. I haven't seen any public documentation describing such a possibility.
Before the connection is established the IP addresses are configured by the software.
Please try to do that with these commands:
at^scfg="Userware/DebugInterface","192.168.2.2","192.168.2.1","1"
at^scfg="Userware/DebugMode","on"
Than you should be able to establish the connection. And you will be able to test if this connection can be useful for your solution. Please remember that your firewall may block the communication.
The possible ways for your solution would be:
- to use MES or AT^SJDL command to download a configuration file from the PC to the module's file system
- to implement some simple protocol to send configuration data from PC to the application on the module via RS232/USB interface
Best regards,
Bartłomiej
Thanks for your input, Jure and Bartłomiej.
IP Connection doesnt work, even with at^scfg=... commands.
But AT^SJDL looks promising to transfer config files. So one just ***** to install BGS5T driver and some configuration software of mine. This is quite uncomplicated -> good :-)
Best regards,
Helmut
For AT commands (AT^SJDL) I think that if you use USB(PC) -> RS232(Gemalto), you woulden't even need BGS5T drivers, just driver for that cabel. But those are installed automaticly on win7 or higher.
Best regards,
Jure
Hello,
MES can also be used in command line mode.
Example:
mesport.exe COM1
mescopy.exe "cfg\Configuration.cfg" mod:A:Configuration.cfg
So you need to test what is better for you. Check also these links:
https://iot-developer.thalesgroup.com/tutorial/python-script-load-files-...
https://iot-developer.thalesgroup.com/faq/how-load-files-module
I was able to establish the IP Connection for remote debugging after configuring the IP addresses with AT^SCFG command.
But if the configuration file transfer with AT^SJDL or MES is suitable for you it would be for sure simpler which means better.
Regards,
Bartłomiej