I want read log of device which is printing on log of developer studio.
I want divert system log toward external serial UART.
How can i do this one ?
I presume you are talking about outputting the log from the WP application core running Legato to the UART? The console, by default, is output from UART 2, if you can see this then just rend ‘logread -f’ to it and the log file will be output as it is written to.
Regards
Matt
Here In my pc, I have 3 uart from SIerra module like UART0,UART1 and UART2.
Which UART i can use ?
In module side, where is it store ? in /dev or some where other?
There are only two UART’s on the WP, if you are using a mangOH board UART 2 (as per the PTS naming for WP76), which is the one you want, comes out of the USB port marked ‘CONSOLE’, this equates to pins 96, 97, 98 and 99 on the WP itself.
Logging is discussed here.
https://docs.legato.io/latest/conceptsLogs.html
Regards
Matt