context_hub_t 结构参考
context_hub_t 结构参考
#include < context_hub.h >
数据字段 | |
常量字符 * | 姓名 |
常量字符 * | 小贩 |
常量字符 * | 工具链 |
uint32_t | 平台版本 |
uint32_t | 工具链版本 |
uint32_t | hub_id |
漂浮 | peak_mips |
漂浮 | stop_power_draw_mw |
漂浮 | sleep_power_draw_mw |
漂浮 | peak_power_draw_mw |
常量结构connected_sensor_t * | connected_sensors |
uint32_t | num_connected_sensors |
常量结构hub_app_name_t | os_app_name |
uint32_t | max_supported_msg_len |
详细说明
上下文中心的定义。一个设备可能包含多个低功率域。在这种情况下,请为每个集线器添加一个条目。但是,设备声明一个上下文集线器并在内部将它们作为多个管理器进行管理是完全可以的
文件context_hub.h第225行的定义。
现场文件
常量结构connected_sensor_t * connected_sensors |
文件context_hub.h第238行的定义。
uint32_t hub_id |
文件context_hub.h第231行的定义。
uint32_t max_supported_msg_len |
文件context_hub.h第242行的定义。
const char* 名称 |
文件context_hub.h第226行的定义。
uint32_t num_connected_sensors |
文件context_hub.h第239行的定义。
const struct hub_app_name_t os_app_name |
文件context_hub.h第241行的定义。
浮动 peak_mips |
文件context_hub.h第233行的定义。
浮动 peak_power_draw_mw |
文件context_hub.h第236行的定义。
uint32_t 平台版本 |
文件context_hub.h第229行的定义。
浮动 sleep_power_draw_mw |
文件context_hub.h第235行的定义。
浮动stopped_power_draw_mw |
文件context_hub.h第234行的定义。
const char* 工具链 |
文件context_hub.h第228行的定义。
uint32_t 工具链版本 |
文件context_hub.h第230行的定义。
const char* 供应商 |
文件context_hub.h第227行的定义。
此结构的文档是从以下文件生成的:
- 硬件/libhardware/include/hardware/ context_hub.h