libPocuter 1.0 Support library for programming the Pocuter

PocuterServer.h
Go to the documentation of this file.
1
2 #ifndef POCUTERSERVER_H
3 #define POCUTERSERVER_H
4 #include "include/hal/PocuterHMAC.h"
5 #include "include/hal/PocuterOTA.h"
6 #include "include/hal/PocuterHTTP.h"
7
8 class PocuterServer {
9 public:
10 PocuterServer(PocuterHMAC*, PocuterOTA*, PocuterHTTP*);
11 virtual ~PocuterServer();
12
13 const uint8_t* checkNewestAppVersion(uint64_t appId);
14 const uint8_t* getServerRootCa();
15 static const char* letsEncryptRootCA;
16 static const char* globalSignRootCA;
17 private:
18 PocuterHMAC* m_HMAC;
19 PocuterOTA* m_pOTA;
20 PocuterHTTP* m_pHTTP;
21
22 uint8_t m_buffer[64];
23 };
24
25 #endif /* POCUTERSERVER_H */
26
PocuterHTTP.h
PocuterServer::getServerRootCa
const uint8_t * getServerRootCa()
PocuterHTTP
HTTP(S) download.
Definition: PocuterHTTP.h:9
PocuterServer::letsEncryptRootCA
static const char * letsEncryptRootCA
Definition: PocuterServer.h:15
PocuterServer::~PocuterServer
virtual ~PocuterServer()
PocuterOTA.h
PocuterOTA
Definition: PocuterOTA.h:7
PocuterServer
Definition: PocuterServer.h:8
PocuterServer::globalSignRootCA
static const char * globalSignRootCA
Definition: PocuterServer.h:16
PocuterHMAC.h
PocuterServer::checkNewestAppVersion
const uint8_t * checkNewestAppVersion(uint64_t appId)
PocuterHMAC
HMAC encryption operations.
Definition: PocuterHMAC.h:9
PocuterServer::PocuterServer
PocuterServer(PocuterHMAC *, PocuterOTA *, PocuterHTTP *)