This is a receive-only protocol which reads the CPU usage data from a Prosody processor. It has no configuration options.
This should be read in conjunction with the generic data communications documentation.
You must use #include "smdc_cpu.h"
to get the
appropriate declarations.
The protocol value is kSMDCProtocolCpu
.
There is no configuration for this protocol, so the config_data pointer should be null (0) and the config_length should be zero.
This protocol does not use encodings, so the 'encoding' field must be set to the value kSMDCConfigEncodingNone.
The firmware module cpumon must have been downloaded.
[note] not useful - receiver is always connected.
This function is not applicable since it only applies to the output half of a channel.
This function is not applicable since it only applies to the output half of a channel.
Overrun is not monitored.
The received data consists of 32-bit words, least significant byte first, each of which is one CPU usage measurement.
This function is not applicable since it only applies to the output half of a channel.