26 lines
492 B
C
26 lines
492 B
C
#ifndef __USER_DATA_SEND_H
|
|
#define __USER_DATA_SEND_H
|
|
|
|
#include "stm32f0xx_ll_usart.h"
|
|
|
|
#include "sensor.h"
|
|
|
|
//enum TIMER_STATES{
|
|
// TIMER_NONE= 0,
|
|
// TIMER_SEND,
|
|
// TIMER_HB
|
|
//};
|
|
|
|
|
|
void SendSensorData(uint8_t status,uint8_t time);
|
|
void SendHbData(uint8_t status, uint8_t play_ctrl);
|
|
|
|
void SendData_Lora(uint8_t send_status, uint8_t status, uint8_t play_ctrl);
|
|
|
|
void SendCmdReplyData(uint8_t *replybuf);
|
|
|
|
//void SendDate_Lora(SensorDataTypeDef *sensorData);
|
|
|
|
|
|
#endif /* __USER_DATA_SEND_H */
|