|
@@ -106,18 +106,18 @@ void handleError(char *id, char *errorCode, char *errorDescription,char *payload
|
|
|
//===============================================
|
|
|
// Common routine
|
|
|
//===============================================
|
|
|
- void getKeyValue(char *keyReq);
|
|
|
- int setKeyValue(char *key, char *value);
|
|
|
- int updateSetting(char *key, char *value);
|
|
|
- int httpDownLoadFile(char *location, char *path, char *filename,char *url);
|
|
|
- int ftpDownLoadFile(char *location, char *user, char *password, int port, char *path, char *filename,char *url);
|
|
|
- void *UpdateFirmwareProcess(void* data);
|
|
|
- void* GetDiagnosticsProcess(void* data);
|
|
|
- int httpUploadFile(char *location, char *path, char *filename,char *url);
|
|
|
- int ftpFile(char *location, char *user, char *password, int port, char *path, char *fnamePlusPath,char *filename);
|
|
|
- int get_file_contents(const char* filename, char** outbuffer);
|
|
|
- //void Send(struct json_object *message);
|
|
|
- void LWS_Send(char * str);
|
|
|
+void getKeyValue(char *keyReq);
|
|
|
+int setKeyValue(char *key, char *value);
|
|
|
+int updateSetting(char *key, char *value);
|
|
|
+int httpDownLoadFile(char *location, char *path, char *filename,char *url);
|
|
|
+int ftpDownLoadFile(char *location, char *user, char *password, int port, char *path, char *filename,char *url);
|
|
|
+void *UpdateFirmwareProcess(void* data);
|
|
|
+void* GetDiagnosticsProcess(void* data);
|
|
|
+int httpUploadFile(char *location, char *path, char *filename,char *url);
|
|
|
+int ftpFile(char *location, char *user, char *password, int port, char *path, char *fnamePlusPath,char *filename);
|
|
|
+int get_file_contents(const char* filename, char** outbuffer);
|
|
|
+//void Send(struct json_object *message);
|
|
|
+void LWS_Send(char * str);
|
|
|
extern int queue_operation(int type, char *frontUUID, char *frontData);
|
|
|
int GetOcppServerURL();
|
|
|
int GetOcppPath();
|
|
@@ -133,6 +133,8 @@ int GetServerSign(void);
|
|
|
void SetServerSign(int value);
|
|
|
int GetBootNotificationInterval(void);
|
|
|
void InitialSystemValue(void);
|
|
|
+void checkTempStopTransaction(int gun_index);
|
|
|
+void storeTempStopTransaction(int gun_index);
|
|
|
//===============================================
|
|
|
// sqlite related routine
|
|
|
//===============================================
|