add tos_slist.h, rename tos.h to tos_k.h

This commit is contained in:
daishengdong
2020-01-03 17:25:38 +08:00
parent af07f199d9
commit c9556307df
268 changed files with 900 additions and 742 deletions

View File

@@ -24,7 +24,7 @@
#include <stdint.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -18,7 +18,7 @@
*/
#include <stddef.h>
#include <tos.h>
#include <tos_k.h>
#include "syscfg/syscfg.h"
#include "nimble/nimble_port.h"

View File

@@ -1,4 +1,4 @@
#include "tos.h"
#include "tos_k.h"
#ifdef __CC_ARM
/* avoid the heap and heap-using library functions supplied by arm */

View File

@@ -30,7 +30,7 @@ extern "C" {
#define DLLExport __attribute__ ((visibility ("default")))
#else
#define DLLImport
#define DLLExport
#define DLLExport
#endif
enum errors
@@ -93,7 +93,7 @@ int MQTTstrlen(MQTTString mqttstring);
#include "MQTTSubscribe.h"
#include "MQTTUnsubscribe.h"
#include "MQTTFormat.h"
#include "tos.h"
#include "tos_k.h"
DLLExport int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char type, unsigned char dup, unsigned short packetid);
DLLExport int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* packetid, unsigned char* buf, int buflen);

View File

@@ -15,7 +15,7 @@
#include <stdarg.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "qcloud.h"
__QCLOUD_OSAL__ void osal_printf(const char *fmt, ...)

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#include "qcloud.h"

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "qcloud.h"
#include "lwip/api.h"

View File

@@ -17,10 +17,10 @@
extern "C" {
#endif
#include <tos.h>
#include <tos_k.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "qcloud.h"
static char now_time_str[20] = {0};

View File

@@ -21,7 +21,7 @@
extern "C" {
#endif
#include "tos.h"
#include "tos_k.h"
#include "qcloud.h"
#include "mbedtls/ssl.h"

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#include "qcloud.h"

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "qcloud.h"
#include "lwip/api.h"

View File

@@ -15,7 +15,7 @@
#include <stdarg.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "infra_defs.h"

View File

@@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#define PORT_BUFF_LEN 16

View File

@@ -17,10 +17,10 @@
extern "C" {
#endif
#include <tos.h>
#include <tos_k.h>
#include <string.h>
#include "tos.h"
#include "tos_k.h"
uint32_t HAL_UptimeMs(void)
{

View File

@@ -17,7 +17,7 @@
#include <stdarg.h>
#include "qcloud_iot_import.h"
#include "tos.h"
#include "tos_k.h"
//#define PLATFORM_HAS_CMSIS

View File

@@ -22,7 +22,7 @@
#include "qcloud_iot_export_error.h"
#include "qcloud_iot_common.h"
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#define PORT_BUFF_LEN 16

View File

@@ -23,7 +23,7 @@ extern "C" {
#include <string.h>
#include "qcloud_iot_import.h"
#include "tos.h"
#include "tos_k.h"
static char now_time_str[20] = {0};

View File

@@ -22,7 +22,7 @@
#include "qcloud_iot_export_log.h"
#include "qcloud_iot_export_error.h"
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#define PORT_BUFF_LEN 16

View File

@@ -17,7 +17,7 @@
#include <stdarg.h>
#include "qcloud_iot_import.h"
#include "tos.h"
#include "tos_k.h"
//#define PLATFORM_HAS_CMSIS

View File

@@ -22,7 +22,7 @@
#include "qcloud_iot_export_error.h"
#include "qcloud_iot_common.h"
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#define PORT_BUFF_LEN 16

View File

@@ -23,7 +23,7 @@ extern "C" {
#include <string.h>
#include "qcloud_iot_import.h"
#include "tos.h"
#include "tos_k.h"
static char now_time_str[20] = {0};

View File

@@ -22,7 +22,7 @@
#include "qcloud_iot_export_log.h"
#include "qcloud_iot_export_error.h"
#include "tos.h"
#include "tos_k.h"
#include "sal_module_wrapper.h"
#define PORT_BUFF_LEN 16