The first reason is the use of hardcoded broadcast data in the demo, which the app cannot recognize. The Tuya SDK will actively call tkl_ble_gap_adv_rsp_data_set to set the broadcast data. The broadcast data is packaged and broadcasted through information such as PID and UUID, and if hardcoded, the app will not recognize it.
The second reason is that after the Bluetooth protocol stack is successfully initialized, the SDK is not notified of the successful initialization of the protocol stack (TKL_BLE_EVT_STACK_INIT), at which point the SDK will not call the interface to start broadcasting.