You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
693 B
32 lines
693 B
1 year ago
|
#ifndef BSP_lora_jx_H
|
||
|
#define BSP_lora_jx_H
|
||
|
|
||
|
#include "../bsp/bsp_config.h"
|
||
|
#include "msp_uart1.h"
|
||
|
#include "tpc_lora.h"
|
||
|
#include "debug_drv.h"
|
||
|
#include "msp_UART2.h"
|
||
|
#include "bsp_lora.h"
|
||
|
#include "MLX90615.h"
|
||
|
typedef struct
|
||
|
{
|
||
|
U16 Oxygen_saturation;
|
||
|
U16 body_temperature;
|
||
|
U16 heart_rate;
|
||
|
U16 sphygmus;
|
||
|
}TS_Lora_param_;
|
||
|
|
||
|
extern TS_Lora_param_ ts_lora_param;
|
||
|
|
||
|
extern ts_s2b_lrdlora_ ts_s2b_lrdlora_send;
|
||
|
extern vU8 Oxygen_saturation, body_temperature, heart_rate;
|
||
|
|
||
|
extern void L3_lora_analysis_init(void);
|
||
|
extern void L3_lora_send_pkg(TS_pp_lrdlora_ *p, U8 *buf,U8 blen);
|
||
|
|
||
|
extern void L3_lora_send(void);
|
||
|
extern U8 Fun_SC_Check(U8 *p1, unsigned short int len);//累加和校验
|
||
|
|
||
|
#endif
|
||
|
|