The command of resister a sensor. More...
#include <sensor_api.h>

Public Member Functions | |
| unsigned int | get_self (void) |
| unsigned int | get_subscriptions (void) |
Public Attributes | |
| sensor_command_header_t | header |
| unsigned int | self: 8 |
| unsigned int | subscriptions: 24 |
| sensor_data_callback_t | callback |
| sensor_data_mh_callback_t | callback_mh |
| sensor_power_callback_t | callback_pw |
The command of resister a sensor.
| sensor_command_header_t header |
command header
| unsigned int self |
sensor ID
| unsigned int subscriptions |
subscription infomation
| sensor_data_callback_t callback |
callback for subscription event
| sensor_data_mh_callback_t callback_mh |
callback with MemHandle for subscription event
| sensor_power_callback_t callback_pw |
callback for setpower event