Skip to main content

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

OptionShortRequiredDefaultDescription
--device-serialNoneFalseTESTSERIAL

None

--portNoneFalseNone

Serial port to read data from. Omit to choose from list of detected ports

--baudrateNoneFalse115200

baud rate, default: 115200

--helpNoneFalseFalse

Show this message and exit.