utils/inc/qshPbSensorUtils.h
QSH PB Sensor Utils
Header:
Parameters
Returns
The decoded message ID, or 0 on failure.
Parameters
Returns
true on success, false on decode error.
Parameters
Returns
true on success, false on decode error.
Parameters
Returns
true on success, false on decode error.
Output context passed to the decode_suids() nanopb callback. Members
Holds a single decoded sns_std_attr_value_data value. Members
Extract the message ID from a client event stream. Decodes only the msg_id field of the first sns_client_event_msg_sns_client_event in stream.
Nanopb repeated-field callback that decodes SUID lookup events. Expects the stream to contain sns_client_event_msg_sns_client_event records carrying SNS_SUID_MSGID_SNS_SUID_EVENT payloads. Appends each discovered SUID to suid_list::suids and stores the datatype string in suid_list::datatype.
Nanopb repeated-field callback that decodes a single sns_std_attr. Appends the decoded attribute and its values to the sensor_attributes map passed via arg.
Nanopb repeated-field callback that decodes attribute events. Expects the stream to contain sns_client_event_msg_sns_client_event records carrying SNS_STD_MSGID_SNS_STD_ATTR_EVENT payloads. Populates the sensor_attributes map passed via arg.
Convenience alias for the public session SUID type.
A list of attribute values for a single attribute ID.
Map from attribute ID (sns_std_attr_id) to its decoded values.
Was this page helpful?

