diff options
| author | Patrick | 2023-07-14 13:46:27 +0200 |
|---|---|---|
| committer | Patrick | 2023-07-14 13:46:27 +0200 |
| commit | 4c72c6901e007414aebb4cb6534c1a49d63558b0 (patch) | |
| tree | c0530fbda67888a8857e5a08222ee6d19c41f260 /esp32/esp_project/main/main.c | |
| parent | 10325eaf40c80eb91f1c1eceea880c3abd54efd7 (diff) | |
| download | matrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.tar.gz matrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.zip | |
esp32 build, cli
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,
|
