embedded - A standard protocol for exchanging logs and commands between device and PC? -


here's problem: i've embedded device uses serial or usb send logs , accept commands. prints logs text , has simple cli commands can typed.

i'd change it, data send/received binary. there standard protocols designed purpose of sending logs/commands/other type of data? i'm not aware of nor found suitable want sure before inventing wheel ;)

edit ok i've edited question because fact data binary no relevant here.

so far closest i've found android debug bridge protocol.

the min protocol designed small 8-bit microcontroller limited ram talk device on standard serial link. i've documented "hello world" program running on arduino talking pc using ftdi serial-to-usb chip here:

https://kentindell.wordpress.com/2015/02/18/micrcontroller-interconnect-network-min-version-1-0/

it's binary protocol payload 0-15 bytes. i've used min carry not binary sensor data ascii data within payload field , pc log ascii file.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -