X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/10325eaf40c80eb91f1c1eceea880c3abd54efd7..4c72c6901e007414aebb4cb6534c1a49d63558b0:/esp32/esp_project/main/main.c diff --git a/esp32/esp_project/main/main.c b/esp32/esp_project/main/main.c index d53fdf7..f4d3c8c 100644 --- a/esp32/esp_project/main/main.c +++ b/esp32/esp_project/main/main.c @@ -14,6 +14,8 @@ #include #include +#include + #define SERVER "https://matrix.org" #define ACCESS_TOKEN "syt_cHNjaG8_yBvTjVTquGCikvsAenOJ_49mBMO" #define DEVICE_ID "MAZNCCZLBR" @@ -26,6 +28,9 @@ app_main(void) MatrixClientInit(&client, SERVER); + void wifi_init(const char *ssid, const char *pass); + wifi_init("Hundehuette", "Affensicherespw55"); + MatrixHttpInit(&client); MatrixClientSetAccessToken(&client,