forked from xuos/xiuos
Merge branch '2023_open_source_contest' of https://gitlink.org.cn/hc0014/xiuos into 2023_open_source_contest
This commit is contained in:
23
APP_Framework/lib/cJSON/cJSON_Process.h
Normal file
23
APP_Framework/lib/cJSON/cJSON_Process.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _CJSON_PROCESS_H_
|
||||
#define _CJSON_PROCESS_H_
|
||||
#include "cJSON.h"
|
||||
#include "stdint.h"
|
||||
|
||||
|
||||
#define NAME "name"
|
||||
#define TEMP_NUM "temp"
|
||||
#define HUM_NUM "hum"
|
||||
|
||||
#define DEFAULT_NAME "fire"
|
||||
#define DEFAULT_TEMP_NUM 25.0
|
||||
#define DEFAULT_HUM_NUM 50.0
|
||||
|
||||
|
||||
#define UPDATE_SUCCESS 1
|
||||
#define UPDATE_FAIL 0
|
||||
|
||||
cJSON* cJSON_Data_Init(void);
|
||||
uint8_t cJSON_Update(const cJSON * const object,const char * const string,void * d);
|
||||
void Proscess(void* data);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user