add tos_slist.h, rename tos.h to tos_k.h
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <tos.h>
|
||||
#include <tos_k.h>
|
||||
#include "syscfg/syscfg.h"
|
||||
#include "nimble/nimble_port.h"
|
||||
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
@@ -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, ...)
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "qcloud.h"
|
||||
|
||||
#include "lwip/api.h"
|
||||
|
@@ -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};
|
||||
|
@@ -21,7 +21,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "qcloud.h"
|
||||
|
||||
#include "mbedtls/ssl.h"
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "qcloud.h"
|
||||
|
||||
#include "lwip/api.h"
|
||||
|
@@ -15,7 +15,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
|
||||
#include "infra_defs.h"
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "qcloud_iot_import.h"
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
|
||||
//#define PLATFORM_HAS_CMSIS
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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};
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "qcloud_iot_import.h"
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
|
||||
//#define PLATFORM_HAS_CMSIS
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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};
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user