IFREEQ Docs
  • Introduction
  • Update Log
  • General Knowledge
    • About IoT
    • Electricity
      • Plug & socket types around the world
        • Power plug & outlet Types A & B
        • Power plug & outlet Type C
        • Power plug & outlet Type D
        • Power plug & outlet Type E
        • Power plug & outlet Type F (Schuko)
        • Power plug & outlet Type G
        • Power plug & outlet Type H
        • Power plug & outlet Type I
        • Power plug & outlet Type J
        • Power plug & outlet Type K
        • Power plug & outlet Type L
        • Power plug & outlet Type M
        • Power plug & outlet Type N
        • Power plug & outlet Type O
      • Full list: Plug, socket & voltage by country
      • Map showing the spread of the different plug types worldwide
      • Useful information for travellers
      • History of domestic electricity
        • Why isn’t there a universal standard electric plug?
        • Why isn’t there a standard voltage around the world?
      • Three-phase electric power (industrial applications only)
    • Certifications
    • Home Automation Brand
    • Home Automation Catalog
    • Industry Term
    • Network Term
    • The Third-party Control
      • AliGenie
      • Amazon Alexa
        • FAQs About Amazon Alexa
      • DuerOS
        • FAQs About DuerOS
      • Google Assistant
        • FAQs About Google Assistant
      • Home Assistant
        • FAQs About Home Assistant
      • HomeKit
        • FAQs About Homekit
      • IFTTT
      • Xiao AI
      • Yandex Alice
        • FAQs About Yandex Alice
  • Developer
    • Introduction
      • What is Tuya Smart?
      • What does Tuya do?
      • Tuya Smart Cloud Platform Overview
      • Advantages
      • Terms
      • Limits
    • Quick Start
    • Configure in Platform
      • Create Products
      • Function Definition
        • Overview
        • Standard Functions
        • Custom Functions
        • Cloud Functions
      • Design App UI
      • Configure Hardware
      • Cloud Configuration
        • Introduction
        • Upgrade Firmwares
        • Set up Multilingual UI
        • Manage Alarms
        • Configure Network for Devices
        • Enable Toggles on App
        • Automate the Smart Devices
      • Mass Production
    • Device Development
      • Access Mode MCU
        • MCU Access Guide
        • Wi-Fi General Solution
          • Wi-Fi Module MCU Development Overview
          • Hardware Design Reference Wi-Fi
          • Software Reference Wi-Fi
            • Tuya Cloud Universal Serial Port Access Protocol
            • Overview of migrating Tuya's MCU SDK
        • Wi-Fi Power Off Fast Connect Device Solution
          • Overview
        • Zigbee General Solution
          • Overview
          • Software development
            • Tuya Zigbee module UART communication protocol
          • Hardware Design
        • BLE General Solution
          • BLE Module MCU Development Overview
          • BLE Hardware Design
        • NB-IoT General Solution
          • NB-IoT Development Guide
          • Introduction to NB Module - NM1
      • Access Mode SoC
        • SoC Development Overview
        • Lighting
          • Guidance
          • Design
          • Test
        • Electrician
          • Guidance
          • Design
          • Test
      • Access Mode Link
        • Wi-Fi Chip SDK
          • Tuya Wi-Fi SDK Reference
          • Development Environment Setup When Using Tuya Wi-Fi SDK
        • BLE Chip SDK
          • TUYA BLE SDK User Guide
        • Zigbee Chip SDK
          • TUYA Zigbee SDK Document
      • Cloud Mode
        • Wi-Fi&BT Dual Mode Module
        • Wi-Fi Module
        • Bluetooth Module
        • Zigbee Module
        • Sub-G Module
      • Tuya Development Boards
      • Access Mode Simmulator
        • Module Debugging Assistant Instruction
      • Embedded License
        • Embedded open source license
    • Smart Product Solution
      • Gateway
        • MCU Access
        • Link SDK Access
        • PCB Details
      • HouseHold
        • Cleaner Robot
        • Air Conditioner
      • IPC
      • Lock
        • BLE Lock
        • Wi-Fi Lock
        • Zigbee Lock
      • Remote Control
      • Voice Product
        • Domestic Voice Speaker Solution
        • Domestic Voice Infrared SoC Solution
        • Overseas Voice Solution
        • Design Reference Materials - Alexa Module
        • Design Reference Materials - Domestic Voice Module
    • Firmware
      • S8E
  • FAQs
    • Device Development
      • Cloud Module
        • Wi-Fi Module
        • Zigbee Module
        • BLE Module
        • GPRS Module
        • NB-IoT Module
        • Dual-mode Module
        • Other Module Issues
      • Access Mode SoC
      • MCU Access Mode
        • Wi-Fi General Solution
        • Zigbee General Solution
        • BLE General Solution
          • BLE Single-point Solution
          • BLE Mesh General Solution
          • Other Issues of BLE Solution
        • NB-IoT General Solution
        • Other Issues of MCU Access Mode
      • Module SDK Development
        • BLE Chip SDK(single point)
        • Linux General SDK
        • NB-IoT Chip SDK
        • Wi-Fi Chip SDK
        • Others about Module SDK
      • Other Issues of Device Development
    • Smart Product Solution
      • Electrical
        • Outlet
        • Scenario Switch
        • Switch
      • Lighting
        • Wi-Fi Lighting
        • Zigbee Lighting
        • Bluetooth Lighting
        • Other Issues of Lighting
      • Lock
        • BLE Lock
        • NB-IoT Lock
        • Wi-Fi Lock
        • Zigbee Lock
        • Other Issues of Lock
      • Sensor
      • Gateway
        • BLE Gateway
        • Wireless Gateway
        • Zigbee Gateway
        • Other Issues of Gateway
      • IPC
      • Infrared Products
        • Infrared remote control
        • Infrared Capability Introduction
        • Infrared Code Library
      • Sweeper
      • Household Appliances
      • Pet Supplier
      • BLE Mesh Typical Solution
        • BLE Mesh Lighting Solution
        • BLE Mesh Electrical Solution
        • BLE Mesh Sensor Solution
        • BLE Mesh General Solution
    • Products
      • Electric
        • Smart Switch
        • Smart Plug
        • Curtain Controller
      • Lighting
      • Security
        • E202/203 Smart Lock
    • More
  • Links
    • ifreeq.cn
    • ifreeq.com
    • AIoT Expo
    • Official Store
Powered by GitBook
On this page
  • How many resources does the 8266 SDK require?
  • There is no pre_App_init when compiling the SDK provided by Tuya?
  • Why did the SDK provided by Tuya fail to compile?
  • How many bits are the SDK compilation environment toolchain provided by Tuya?
  • What are the SDK compilation environment requirements provided by Tuya?
  • How to close watchdog by ESP8266 SDK?
  • Why does Espressif SDK provided by Tuya have 2 bin files after compilation, which one is used?
  • How many timers does the ESP8266 SDK have?
  • What should I pay attention to when developing pointers for ESP8266 SDK?
  • Why there is no main function in ESP8266 SDK, and what is the program entry function?
  • Does the SDK provided by Tuya use RTOS?
  • What is the operable address of flash when Tuya 8266 SDK is developed?
  • How to locate the issue when Fatal error appears in the log printed?
  • Which function is used to reset the network status for secondary development with Wi-Fi SDK?
  • Which version is the security baseline based on?
  • With Wi-Fi SDK secondary development, what parameters can I choose to set the Wi-Fi configuration mode?
  • How to download secondary development files compiled by Wi-Fi SDK to the chip?
  • Which function is used to test IO for secondary development with Wi-Fi SDK??
  • Which function is used to get Wi-Fi network status for secondary development with Wi-Fi SDK?
  • Which function is used to get the device status for secondary development with Wi-Fi SDK?
  • Which function of the demo program is easy to start with in the Wi-Fi SDK for secondary development?
  • What do I need to prepare for secondary development based on Wi-Fi SDK?
  • How are the 8285 chip high-temperature and low-temperature versions different?
  • Does 8266 development support online simulation?

Was this helpful?

  1. FAQs
  2. Device Development
  3. Module SDK Development

Wi-Fi Chip SDK

How many resources does the 8266 SDK require?

16K RAM,400K Flash

There is no pre_App_init when compiling the SDK provided by Tuya?

Just define a pre_app_init empty function in the application code

Why did the SDK provided by Tuya fail to compile?

You need to compile in root mode, please provide logs to Tuya for analysis if it still fails to compile.

How many bits are the SDK compilation environment toolchain provided by Tuya?

64-bits

What are the SDK compilation environment requirements provided by Tuya?

64-bits Linux environment

How to close watchdog by ESP8266 SDK?

system_soft_wdt_stop ()

Why does Espressif SDK provided by Tuya have 2 bin files after compilation, which one is used?

Use the bin file end with (1)

How many timers does the ESP8266 SDK have?

Two, one hardware timer, one software timer

What should I pay attention to when developing pointers for ESP8266 SDK?

The memory must be read with a 4-byte pair. When converting the pointer, make sure that it is a 4-byte pair. Otherwise, the conversion will fail and it cannot be used.

Why there is no main function in ESP8266 SDK, and what is the program entry function?

app_init is the program entry function

Does the SDK provided by Tuya use RTOS?

No, we use FreeRTOS.

What is the operable address of flash when Tuya 8266 SDK is developed?

Tuya has divided the Flash area, customers can develop directly.

How to locate the issue when Fatal error appears in the log printed?

You can find the corresponding address in the (*.S) file and add printing to locate the problem. Fatal exception (28): epc1=0x4025bfa6, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000000f, depc=0x00000000 For example, if user1.bin is used, you can find the address 0x4025bfa6 in user1.S and check out the corresponding function.

Which function is used to reset the network status for secondary development with Wi-Fi SDK?

Call the function VOID tuya_dev_reset_factory(VOID), you can restore the factory settings or switch between the two network distribution status.

Which version is the security baseline based on?

Greater or equal to 5.42 baseline

With Wi-Fi SDK secondary development, what parameters can I choose to set the Wi-Fi configuration mode?

Normal mode: WCM_OLD, Low power consumption mode: WCM_LOW_POWER, Special distribution mode: WCM_SPCL_MODE, Compatibility mode: WCM_OLD_CPT

How to download secondary development files compiled by Wi-Fi SDK to the chip?

Combine several files into a complete package and burn it with Espressif burning tool

Which function is used to test IO for secondary development with Wi-Fi SDK??

You can use the callback function gpio_func_test(VOID).

Which function is used to get Wi-Fi network status for secondary development with Wi-Fi SDK?

Call the function of GW_Wi-Fi_STAT_E tuya_get_wf_status(VOID), the returned parameters can be compared with GW_Wi-Fi_STAT_E structure

Which function is used to get the device status for secondary development with Wi-Fi SDK?

Call the GW_STAT_E tuya_get_gw_status(VOID) function against the GW_STAT_E structure

Which function of the demo program is easy to start with in the Wi-Fi SDK for secondary development?

The application entry function of our SDK is OPERATE_RET device_init(VOID)

What do I need to prepare for secondary development based on Wi-Fi SDK?

You need to build a VM, a compiler and have to be familiar with the secondary development documents

How are the 8285 chip high-temperature and low-temperature versions different?

They apply to different working temperatures.

Does 8266 development support online simulation?

Yes. Tuya can provide a commissioning assistant to commission the module.

PreviousNB-IoT Chip SDKNextOthers about Module SDK

Last updated 4 years ago

Was this helpful?