System.out on ASC0 / Flash file system | Telit Cinterion IoT Developer Community
April 6, 2014 - 1:18am, 11142 views
Hi, With the out-of-the-box configuration of the concept board the Userware/Stdout (the setting that controls where System.out calls are redirected to) is set to this. ^SCFG: "Userware/Stdout","null",,,,"off" When developing in Eclipse, I typically run my Midlet from Eclipse (connecting my PC to the USB port) and I see the output just fine. I was taking my Concept board onto the field and wanted to see the logging through the ASC0 USB interface or log it on the flash drive. I tried executing the following command (the comand itself returned OK) AT^SCFG="Userware/Stdout","ASC0" But when hooking up a serial monitor on the virtual COM port provided by ASC0 I didn't see output while I know my Midlet was doing System.out calls I then tried to write the System.out to the flash drive using the following config: AT^SCFG="Userware/Stdout","FILE",65535,"MY.LOG","buffered" But that command resulted in ERROR. Any ideas how to redirect the System.out calls to ASC0 or the Flash filesystem ?