MT2523 API Reference  LinkIt SDK v4
sensor_subscriber Struct Reference

The subscriber information for the sensor event of the specified sensor. More...

#include <sensor_alg_interface.h>

Data Fields

char name [(8)]
 Subscriber's name. More...
 
int32_t handle
 Handle of this subscription, filled in sensor_subscribe_sensor. More...
 
uint32_t type
 The sensor type for the subscription. More...
 
uint32_t delay
 The sampling interval for the sensor event. More...
 
sensor_subscriber_send_digest_callback_t send_digest
 To notify a sensor event to this subscriber. More...
 
uint32_t timeout
 The batch timeout in ms. More...
 

Detailed Description

The subscriber information for the sensor event of the specified sensor.

Field Documentation

uint32_t delay

The sampling interval for the sensor event.

int32_t handle

Handle of this subscription, filled in sensor_subscribe_sensor.

char name[(8)]

Subscriber's name.

To notify a sensor event to this subscriber.

uint32_t timeout

The batch timeout in ms.

uint32_t type

The sensor type for the subscription.


The documentation for this struct was generated from the following file: