/* This file is part of the Simba project.  */
int main()
/* This file is part of the Simba project.  */
int main()
{
    struct inet_if_ip_info_t info;
    sys_start();
    esp_wifi_set_op_mode(esp_wifi_op_mode_station_t);
    inet_aton("192.168.0.200", &info.address);
    inet_aton("255.255.255.0", &info.netmask);
    inet_aton("192.168.0.1", &info.gateway);
    if (esp_wifi_station_init("Qvist2",
                              "maxierik",
                              (uint8_t[]){0xc8, 0xd7, 0x19, 0x0f, 0x04, 0x65},
                              &info) != 0) {
        std_printf(FSTR("Failed to configure the Station.\r\n"));
    }
    while (1) {
        esp_wifi_print(sys_get_stdout());
        thrd_sleep(2);
    }
    return (0);
}