feat(IOT): LibAPI #21

Merged
Clement merged 12 commits from feat/LibAPI into master 2023-04-03 14:55:14 +00:00
2 changed files with 26 additions and 0 deletions
Showing only changes of commit e8ebe48128 - Show all commits

14
IOT/lib/API/include/API.h Normal file
View File

@ -0,0 +1,14 @@
#ifndef API_H
#define API_H
#include <Arduino_JSON.h>
class API {
public:
API();
JSONVar* connect();
};
#endif

12
IOT/lib/API/src/API.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "../include/API.h"
API::API(){
//TODO: implement API constructor
}
JSONVar* API::connect(){
JSONVar* sortie = new JSONVar();
//TODO: implement connect methods
return sortie;
}