第一次提交

This commit is contained in:
2026-04-09 10:14:20 +08:00
commit e325a77b42
584 changed files with 279711 additions and 0 deletions

31
App/app_get_json.h Normal file
View File

@@ -0,0 +1,31 @@
#ifndef _APP_GET_JSON_H
#define _APP_GET_JSON_H
#include "stdint.h"
#include "cJSON.h"
#pragma pack (1)
typedef struct
{
uint16_t output_mode;
uint16_t output_ax;
uint16_t output_ay;
uint16_t min_trigger_res_value;
uint16_t max_trigger_res_value;
uint16_t div_trigger_res;
}json_data_struct;
typedef int (*json_cmd_handle)(void *data);
typedef struct json_callback_struct
{
char * name; //json<6F><6E>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>
json_cmd_handle handle; //<2F>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>
struct json_callback_struct *child_ptr; //<2F><>Ŀ¼
uint8_t child_num; //<2F><>Ŀ¼<C4BF><C2BC>Ŀ
}json_callback_t;
#pragma pack ()
int get_Json_data(json_data_struct * sys);
cJSON* creat_body_json(uint8_t style,int coor_x, int coor_y);
#endif