paqueteCnC
|
Higher level packet for housekeeping and diagnostic data service. Packet of subtypes 25 and 26. 25 is of housekeeping subservice, while 26 is of diagnostics data subservice. Since both are equal I simply use a 25 class for both. 25 is for parameter report. More...
#include <vector>
#include <unordered_map>
#include "../packet.h"
#include "packet_extended_basic.h"
#include "packet_extended_housekeeping_basic.h"
Go to the source code of this file.
Classes | |
class | PacketExtendedHousekeeping25 |
Higher level packet for housekeeping and diagnostic data service. Packet of subtypes 25 and 26. 25 is of housekeeping subservice, while 26 is of diagnostics data subservice. Since both are equal I simply use a 25 class for both. 25 is for parameter report.
Generation mode is specified but whether it is finally included or not is unknown to me at the moment of writing this. It can be periodic or filtered. Filtered allows some parameters not to be included in the report, although a maximum timeout period exists for that parameter, after which the parameter will be sampled even if it is filtered. Periodic is just periodically sending all of the SID's parameters. Each mode has a value associated, 0 being periodic. For filtered, 1 when a the filtered parameter exceeded threshold, 2 when the timeout took place. So on filtered mode, if no parameter has changed beyond the threshold or no timeout has activated for that SID then no report is generated.
Sending a report is part of the minimum capability set for the housekeeping subservice. The report contains the structure identifier (SID), the mode, and then the parameters field, which is a sequence of parameters and then a sequence of fixed length arrays as the specific SID defines.