14#include "tuya_cloud_types.h"
15#include "tuya_cloud_com_defs.h"
77typedef OPERATE_RET(*
MF_USER_PRODUCT_TEST_CB)(USHORT_T cmd, UCHAR_T *data, UINT_T len, OUT UCHAR_T **ret_data, OUT USHORT_T *ret_len);
141 IN CHAR_T *file_name, IN CHAR_T *file_ver, IN BOOL_T wrMacEn);
224#if defined(ENABLE_BT_SERVICE) && (ENABLE_BT_SERVICE==1)
225#if defined(ENABLE_MF_BY_BT) && (ENABLE_MF_BY_BT==1)
237OPERATE_RET ty_bt_mf_tst_regist(IN CONST BT_MF_USER_INTF_S* intf);
241VOID_T bt_mf_tst_end(VOID_T);
242VOID_T bt_mf_tst_process(UINT8_T* data, UINT16_T len);
BOOL_T mf_test_is_timeout(VOID)
judge if mf test is timeout
VOID(* MF_UART_INIT_CB)(UINT_T baud, UINT_T bufsz)
callback for URAT init function
Definition: mf_test.h:28
OPERATE_RET wd_mf_test_close_if_write(IN BOOL_T mf_close)
close mf test,save the flag in flash
BOOL_T mf_save_hwreset_status(VOID)
mf save hwreset status
VOID(* MF_USER_CALLBACK)(VOID)
callback for user
Definition: mf_test.h:102
VOID mf_cmd_product_send(IN CONST USHORT_T cmd, IN CONST BYTE_T *data, IN CONST UINT_T len)
The entry of product test
BOOL_T(* MF_GPIO_TEST_CB)(IN CONST CHAR_T *in, OUT CHAR_T *out)
callback for GPIO test
Definition: mf_test.h:57
VOID_T(* APP_PROD_CB)(BOOL_T flag, SCHAR_T rssi)
callback for app product test
Definition: mf_test.h:157
OPERATE_RET(* MF_USER_BASIC_TEST_CB)(USHORT_T cmd, UCHAR_T *data, UINT_T len)
callback for user basic test
Definition: mf_test.h:90
OPERATE_RET(* MF_USER_PARAM_CB)(IN CONST BYTE_T *data, IN CONST UINT_T len)
callback after write user param finish
Definition: mf_test.h:126
VOID mf_cmd_basic_send(BYTE_T cmd, BYTE_T *data, UINT_T len)
The entry of basic cmd test
OPERATE_RET mf_init(IN CONST MF_IMPORT_INTF_S *intf, IN CHAR_T *file_name, IN CHAR_T *file_ver, IN BOOL_T wrMacEn)
mf test init fucntion
BOOL_T(* MF_PRE_GPIO_TEST_CB)(VOID)
callback for preposed GPIO test
Definition: mf_test.h:64
VOID mf_test_ignore_close_flag(VOID)
ignore mf test closed flag
VOID mf_user_param_cb_set(MF_USER_PARAM_CB cb)
set callback function for product test
BOOL_T wd_mf_test_close_if_read(VOID)
read the flag in flash,to check if mf test closed
OPERATE_RET mf_test_facpin_get(OUT CHAR_T facpin[20+1])
get facpin
OPERATE_RET(* MF_USER_PRODUCT_TEST_CB)(USHORT_T cmd, UCHAR_T *data, UINT_T len, OUT UCHAR_T **ret_data, OUT USHORT_T *ret_len)
callback for user product test
Definition: mf_test.h:77
VOID(* MF_UART_FREE_CB)(VOID)
callback for UART free function
Definition: mf_test.h:96
VOID(* MF_UART_SEND_CB)(IN BYTE_T *data, IN CONST UINT_T len)
callback for URAT send function
Definition: mf_test.h:37
UINT_T(* MF_UART_RECV_CB)(OUT BYTE_T *buf, IN CONST UINT_T len)
callback for URAT receive function
Definition: mf_test.h:47
Definition of mf test init configure
Definition: mf_test.h:107