|
TuyaOS
|
Common process - endpoint register 更多...


结构体 | |
| struct | TKL_ENDPOINT_T |
函数 | |
| BOOL_T | tkl_zg_attr_get (TKL_CLUSTER_TRIPLET_T *triplet, UINT16_T attr_id, TKL_ATTR_T *out_attr) |
| get attribute details 更多... | |
| UINT8_T | tkl_zg_endpoint_count_get (VOID_T) |
| get the total number of endpoints 更多... | |
| OPERATE_RET | tkl_zg_endpoint_register (CONST TKL_ENDPOINT_T *ep_desc, UINT8_T sums) |
| endpoint used by dynamically registered uplayer, only be called once in the initialization process. 更多... | |
| BOOL_T | tkl_zg_match_cluster (TKL_CLUSTER_TRIPLET_T *triplet) |
| match cluster on endpoint 更多... | |
Common process - endpoint register
| BOOL_T tkl_zg_attr_get | ( | TKL_CLUSTER_TRIPLET_T * | triplet, |
| UINT16_T | attr_id, | ||
| TKL_ATTR_T * | out_attr | ||
| ) |
get attribute details
| [in] | ep_id | endpoint id |
| [in] | attr_id | attribute id |
| [out] | out_attr | attribute details output |
| UINT8_T tkl_zg_endpoint_count_get | ( | VOID_T | ) |
get the total number of endpoints
| [in] |
return endpoint number
| OPERATE_RET tkl_zg_endpoint_register | ( | CONST TKL_ENDPOINT_T * | ep_desc, |
| UINT8_T | sums | ||
| ) |
endpoint used by dynamically registered uplayer, only be called once in the initialization process.
| [in] | ep_desc | point to endpoint list |
| [in] | sums | endpoint number |
| BOOL_T tkl_zg_match_cluster | ( | TKL_CLUSTER_TRIPLET_T * | triplet | ) |
match cluster on endpoint
| [in] | triplet | point to cluster triplet |