console
Description
Open a serial terminal and automatically post chunks to Memfault
The command requires output produced by memfault_data_export_chunk.
$ memfault --project-key ${YOUR_PROJECT_KEY} console --device-serial TESTSERIAL --port /dev/tty.usbmodem1
Example Output:
my_log: exporting memfault chunks
MC:CAKnAgEDAQdqVEVTVFNFUklBTAptdGVzdC1zb2Z0d2FyZQlqMS4wLjAtdGVzdAZtdGVzdC1oYXJkd2FyZQShAaFyY2h1bmtfdGVzdF9zdWNjZXNzATHk:
[MFLT CONSOLE]: Sending 1 chunks to Memfault cloud
[MFLT CONSOLE]: Success
Reference: https://mflt.io/chunk-api-integration
Options
Option | Short | Required | Default | Description |
--device-serial | None | False | TESTSERIAL | None |
--port | None | False | None | Serial port to read data from. Omit to choose from list of detected ports |
--baudrate | None | False | 115200 | baud rate, default: 115200 |
--help | None | False | False | Show this message and exit. |