I would like to know if we can send Microlog traces over USB from a device to a PC for example ?
this would be very usefull..
thanks for your answer.
you could use SerialAppender to do that. Please take a look at your devices documentation to find out the name of the serial port. This is not standardized :( I have tested it on a Sony Ericsson device.
I tried to use the SerialAppender on my SE G900. If I use your line with setComPort("AT1") I get the application to start saying I have connections USB2, COM0 and IR.
I have an USB cable connected to the phone and imagined it to connect to one of my COM ports on my computer. Tried to listen with TeraTerm on all COM ports, but there is nothing.
Is there something I am missing here? What should I use to listen on the serial connection?
Maybe the simple answer is that I can not since my phone do not have a debug port…
on some platforms you need to issue an AT command from the terminal on your PC to enable serial communication. For example on Sony Ericsson JP-7 you must issue this command:
Please read more about this in the Sony Ericsson Developer Guidelines.
Right, have now been using your library for logging over serial and bluetooth with SE G900 so I can confirm it works!
The trick was as you said to send the AT*SEJCOMM=1000 command at the modem port and then connect with the phone on the same port.
Hats off to you gentlemen!
it is nice being able to help you out.
Log in to post a comment.