#include "sizhu_telecom_process.h" #include "system_realtime_run_para.h" uint8_t KVer_AES_128_SIZHU[16]; volatile GPRS_SEND_CTRL_T gprs_control_g_sizhu; SIZHU_GPRS_PROTOCOL_HEADER gprs_protocol_header_sizhu; void gprs_sizhu_handle(void); GPRS_WORK_STATUS_T gprs_power_on_fun_sizhu(); GPRS_WORK_STATUS_T gprs_connection_fun_sizhu(); GPRS_WORK_STATUS_T Gprs_Send_Pro_sizhu(); GPRS_WORK_STATUS_T wait_gprs_send_ok_fun_sizhu(); GPRS_WORK_STATUS_T gprs_time_out_fun_sizhu(); GPRS_WORK_STATUS_T gprs_power_off_fun_sizhu(void); void GPRS_Init(u8 gprs_open_flag); void gprs_protocol_header_2buff(uint8_t *header_in, uint8_t *buff, uint8_t len); void AES128_Encrypt_CRC_Send_SIZHU(u16 commandCode,uint16_t length); void AES128_Decrypt_SIZHU(u8* dataIn,u8* key,u8* dataOut,uint16_t length); u8 IntervalReportingHandle(u16 IntervalReportingInterval,u16 IntervalReporting1Time); void gprs_data_save_process(calendar_obj * ptr); void clear_para_gprs_data_sizhu(void);