35 lines
932 B
C
35 lines
932 B
C
//
|
|
// Created by cfif on 20.10.22.
|
|
//
|
|
|
|
#ifndef ARTERY_PROJECT_HTTP_SERVER_H
|
|
#define ARTERY_PROJECT_HTTP_SERVER_H
|
|
|
|
#include "cmsis_os2.h"
|
|
|
|
#define FileTableDescriptorAddress 0x08350000
|
|
|
|
typedef struct {
|
|
char name[64];
|
|
uint32_t size;
|
|
uint32_t address;
|
|
} tFileTableDescriptor;
|
|
|
|
#include "RtcArtery.h"
|
|
#include "httpd_post.h"
|
|
#include "DeviceStorageIni.h"
|
|
#include "TaskAdc.h"
|
|
#include "Gpios.h"
|
|
#include "ModemLog.h"
|
|
|
|
void httpd_init(tExternal *external, tRtcIO *rtc, tTaskAdc *taskAdc, tDeviceStorageIni *storage, tFs *fs,
|
|
tFirmwareLoader *firmwareMainLoader,
|
|
tFirmwareLoader *firmwareBootLoader,
|
|
tModemMain *modemMain, osMutexId_t accessHTTP, osMutexId_t accessMODEM, osMutexId_t accessLOG,
|
|
osMutexId_t accessLOG2,
|
|
tGpios *gpios, tFileLogger *flog, tModemMainLog *modemMainLog);
|
|
|
|
//void httpd_init();
|
|
|
|
#endif //ARTERY_PROJECT_HTTP_SERVER_H
|