How to reset Tuya's Bluetooth module and configure the network?
When receiving the module, it is suggested that, before start coding, you run the provided module debugging assistant to check if the module can work properly. In MCU simulation mode, connect the module and configure the network for practice. Meanwhile, you can get familiar with the protocol interaction process, which will help you to proceed with the development debugging.
Tuya BLE general serial port protocol architecture is as follows:
In MCU simulation mode, the debugging assistant simulates the MCU to automatically respond to the module with the correct protocol data. After you configure network through the mobile phone, you can test DP data reporting and sending. The procedure of operating the assistant and module network configuration is as follows. Before operation, you need to learn about the operation instruction of Tuya module debugging assistant. For beginners, you can refer to Module Debugging Assistant Instruction.
The connection diagram in MCU simulation mode of the debugging assistant is as follows: