NxScope LibraryThis library provides real-time data logging functionality for NuttX.
The principle of action is to accumulate data gathered in virtual channels and periodically send buffered data through a dedicated interface packed with a custom protocol.
Supported features:
enum nxscope_sample_dtype_e)NXSCOPE_STREAM_FLAGS_OVERFLOW)enum nxscope_hdr_id_e)NXSCOPE_HDRID_USER and struct nxscope_callbacks_s)CONFIG_LOGGING_NXSCOPE_DIVIDER)CONFIG_LOGGING_NXSCOPE_ACKFRAMES)CONFIG_LOGGING_NXSCOPE_USERTYPES)CONFIG_LOGGING_NXSCOPE_CRICHANNELS)A custom interface and a custom protocol can be implemented with struct nxscope_intf_s and struct nxscope_proto_s structures.
Supported interfaces:
logging/nxscope/nxscope_iser.clogging/nxscope/nxscope_idummy.cA default serial protocol is implemented in apps/logging/nxscope/nxscope_pser.c It just packs NxScope data into simple frames with a CRC-16 checksum.