utils/inc/suidLookUp.h
Structures
suidLookUp
Utility class for discovering available sensors using dataytpe.
Functions
suidLookUp
creates a new connection to qsh for suid lookup
suidEventCb
callback function for suids
~suidLookUp
requestSuid
look up the suid for a given datatype, registered callback will be called when suid is available for this datatype
std::string
data type for which suid is requested
option to ask for publishing only default suid for the given data type. default value is false
locate
Utility class for synchronous sensor UID lookup operations.
Functions
locate
Default constructor for the locate class.
Initializes a new instance of the locate class for performing SUID lookup operations. The instance is prepared for a single lookup operation.
lookUp
Performs synchronous lookup of sensor UIDs for a given datatype.
This method initiates a SUID lookup request for the specified datatype and blocks until either the lookup completes or the timeout expires. It returns a reference to a vector containing all discovered sensor UIDs for the datatype.
The sensor datatype to lookup (e.g., “accel”, “gyro”, “mag”)
The sensor hub ID to query. Use -1 for default hub (default: -1)
Maximum time to wait for lookup completion (default: 5000ms)

