Documentation

Documentation

Includes

tuya_os_adapter.h

#include "tuya_os_adapter.h"
#include "tuya_os_adapter.h"

stdbool.h

#include <stdbool.h>
#include 

stdint.h

#include <stdint.h>
#include 

tuya_cloud_types.h

#include "tuya_cloud_types.h"
#include "tuya_cloud_types.h"

Macros

Marco __TUYA_HAL_BLE_MESH_PROV_H__

#define __TUYA_HAL_BLE_MESH_PROV_H__

      

Functions

Func tuya_hal_bt_mesh_prov_init

OPERATE_RET tuya_hal_bt_mesh_prov_init(ty_ble_mesh_prov_param_t *p);


      

Func tuya_hal_bt_mesh_prov_deinit

OPERATE_RET tuya_hal_bt_mesh_prov_deinit(VOID_T);


      

Func tuya_hal_bt_mesh_prov_set_info

OPERATE_RET tuya_hal_bt_mesh_prov_set_info(ty_ble_mesh_info_t *info);


      

Func tuya_hal_bt_mesh_prov_set_addr

OPERATE_RET tuya_hal_bt_mesh_prov_set_addr(UINT16_T mesh_addr);


      

Func tuya_hal_bt_mesh_prov_scan

OPERATE_RET tuya_hal_bt_mesh_prov_scan(BOOL_T enable);


      

Func tuya_hal_bt_mesh_prov_del_dev_with_addr

OPERATE_RET tuya_hal_bt_mesh_prov_del_dev_with_addr(UINT16_T mesh_addr, UINT8_T dev_key[16]);


      

Func tuya_hal_bt_mesh_prov_send_data

OPERATE_RET tuya_hal_bt_mesh_prov_send_data(UINT_T opcode, UINT16_T mesh_addr, UINT8_T *data, UINT_T length, UINT8_T dev_key[16]);


      

Func tuya_hal_bt_mesh_prov_node_reset

OPERATE_RET tuya_hal_bt_mesh_prov_node_reset(VOID_T);


      

Func tuya_os_ble_mesh_prov_intf_init

VOID_T tuya_os_ble_mesh_prov_intf_init(VOID_T);

      

Vars

Consts

Types

Typedefs