diff options
Diffstat (limited to 'esp32/esp_project/main/main.c')
| -rw-r--r-- | esp32/esp_project/main/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <olm/olm.h>
#include <matrix.h>
+#include <esp_wifi.h>
+
#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,
|
