| 天嵌二次封装库使用手册
    V2.1.2
    | 

| 宏定义 | |
| #define | VERSION_FILE "/version" | 
| 存放版本信息的文件  更多... | |
| #define | OTA_API | 
| 函数 | |
| int | tq_start_ota_update (char *ip_port, const char *product) | 
| 在线更新产品  更多... | |
| int | tq_start_ota_update_sd (const char *product) | 
| 从sd卡中更新产品  更多... | |
| int | tq_get_status (char *str, int len) | 
| 获取文件状态信息  更多... | |
| int | tq_set_no_ramdisk_update (int enbale) | 
| 设置产品不从磁盘更新  更多... | |
| int tq_get_status | ( | char * | str, | 
| int | len | ||
| ) | 
获取文件状态信息
| str | 用于存放获取的状态信息 | 
| len | 获取状态信息的长度 | 
| int tq_set_no_ramdisk_update | ( | int | enbale | ) | 
设置产品不从磁盘更新
| enbale | 使能参数,设置为1时才可以进行在线升级 | 
| int tq_start_ota_update | ( | char * | ip_port, | 
| const char * | product | ||
| ) | 
在线更新产品
| ip_port | 服务器的IP地址和端口号 | 
| product | 要更新的产品 | 
| int tq_start_ota_update_sd | ( | const char * | product | ) | 
从sd卡中更新产品
| product | 要更新的产品 |