> For the complete documentation index, see [llms.txt](https://docs.ifreeq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ifreeq.com/faqs/device-development/untitled-2/linux-general-sdk.md).

# Linux General SDK

## For the AP mode network configuration, how many digits of the MAC address for the SSID transmitted?

The last 4 digits of MAC address.

## Does SDK firmware download support resumable download?

Yes

## Is the low-power network pairing supported for the Linux SDK integration?

Not supported yet.

## Is it necessary to restart the SDK process when the SDK gets into the network pairing mode?

Yes

## What is the reason for the sign verification error in the SDK?

It is recommended to check whether UUID, AUTHKEY, PID are filled incorrectly.

## What are the preconditions for Tuya Cloud Networking SDK?

1\. Support Linux/android system

2\. Support TCP/IP protocol stack

3\. Standard Linux system, support file system

## What libraries does the Linux SDK compile?

Mainly C library and C++

## What is the meaning of deleting the tuya\_user.db file for Linux SDK integration?

Restore the factory setting.

## When the gateway does OTA, how long it will take for timeout? how to do if the gateway is disconnected during the upgrade?

Once the APP receives a progress update, the timeout period will be re-timed, which is also controlled by the gateway side. If network is interrupted during the period of downloading the firmware, the SDK will keep reconnecting. If the network is disconnected for over 60s, the APP will determine to time out and the OTA fails.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ifreeq.com/faqs/device-development/untitled-2/linux-general-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
