Boron - modem trace support?

Hello,

Do Particle cellular devices (e.g. Boron, M-SoM, Tachyon) provide a modem trace functionality or is it limited to flashing the "device doctor firmware and Device OS" for debugging?

Similar to other vendor offerings, I was hoping for a build option to enable a modem trace capability for the user firmware, and then import (optional) the modem trace into a traffic analyzer (e.g. Wireshark) to observe AT commands, LTE traffic, and IP traffic. A modem trace capability is very useful for debugging purposes, understanding the device-network protocols and behaviour.

Do the current modems or the upcoming Tachyon support a modem trace capability?
If not, Is there a way to include the "device doctor" code with user firmware?

Thank you.

There is no full modem trace functionality, but you can produce the same runtime logs as the web device doctor firmware by using

SerialLogHandler logHandler(LOG_LEVEL_TRACE);

It's also possible to use a different log handler instead of Serial to log to a different location, and at different levels. This will log the modem AT commands, but not the modem data. See the DeviceInfoLedger example for storing the data in Ledger, for example.

There is no way to do a packet capture of the IP traffic.

Will the Tachyon also have no full modem trace functionality?

I'll review. Thank you.

Unfortunate, as a full modem trace capture capability, together with export into Wireshark for AT commands, LTE & IP traffic is invaluable for both analysis and debugging.

Thank you for your quick response.

Tachyon is an Ubuntu Linux platform so standard tools should generally be available on that platform.