The SDK generated from Tuya occupies about 4k of flash, and the ram is about 100 bytes related to the length of the DP point data. If OTA is required, it needs to be more than 260 bytes, and the maximum function nesting is the 9th level. If the MCU can't meet the requirements, the user can connect according to the protocol document.