Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Arduino ESP8266:未经CA证书的WPA企业登录_Arduino_Iot_Esp8266 - Fatal编程技术网

Arduino ESP8266:未经CA证书的WPA企业登录

Arduino ESP8266:未经CA证书的WPA企业登录,arduino,iot,esp8266,Arduino,Iot,Esp8266,非常感谢你抽出时间来阅读这篇文章 我已经浏览了ESP8266论坛上发布的WPA企业问题和相关链接,但它不能帮助我,所以我开始另一个话题 我正在尝试将我的ESP连接到我的办公室网络。 要通过移动设备连接,这通常是以下设置: SSID:PanLAN EAP方法:PEAP 第2阶段身份验证:无 Ca证书:无 身份:亚太\斯拉克 密码:Badonkadong 我从joostd的github中获取了edurom.ino并尝试运行它。 我犯了以下错误 error: 'wifi_station_set

非常感谢你抽出时间来阅读这篇文章

我已经浏览了ESP8266论坛上发布的WPA企业问题和相关链接,但它不能帮助我,所以我开始另一个话题

我正在尝试将我的ESP连接到我的办公室网络。 要通过移动设备连接,这通常是以下设置:

  • SSID:PanLAN
  • EAP方法:PEAP
  • 第2阶段身份验证:无
  • Ca证书:无
  • 身份:亚太\斯拉克
  • 密码:Badonkadong
  • 我从joostd的github中获取了edurom.ino并尝试运行它。 我犯了以下错误

        error: 'wifi_station_set_username' was not declared in this scope
    
       wifi_station_set_username(identity, sizeof(identity));
    
                                                           ^
    
    ESP8266_PEAPAuth:323: error: 'wifi_station_set_cert_key' was not declared in this scope
    
       if( wifi_station_set_cert_key(testuser_cert_pem, testuser_cert_pem_len, testuser_key_pem, testuser_key_pem_len, NULL, 0) == 0 ) {
    
                                                                                                                              ^
    
    ESP8266_PEAPAuth:337: error: 'wifi_station_clear_cert_key' was not declared in this scope
    
       wifi_station_clear_cert_key();
    
                                   ^
    
    ESP8266_PEAPAuth:338: error: 'wifi_station_clear_username' was not declared in this scope
    
       wifi_station_clear_username();
    
                                   ^
    exit status 1
    'wifi_station_set_username' was not declared in this scope.
    
    我是ESP/Arduino新手,但在我看来,似乎缺少user_interface.h和c_type.h文件

  • github帐户没有它们,我在哪里可以找到它们 他们来自哪里
  • 我知道用户界面。h在github上可用 来自其他项目,但我可以使用它们吗
  • 如果是,那么 下载后,我应该将user_interface.h放在哪里
  • 我在我的计算机@“C:\程序文件中找到了ctype.h (x86)\Arduino\hardware\tools\avr\avr\include“它与 代码中提到的c_type.h?我可以重命名并使用ctype.h吗
  • 有没有其他/更好的例子可供我参考 跟踪并将我的ESP连接到网络

  • 您使用了吗?是的,我使用了,但是我找不到任何有助于我在没有CA证书的情况下使用WPA登录的示例。请让我知道,如果有一个隐藏在git,我会重新调查它。谢谢。它在我的mac上的~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.1.0/tools/sdk/include/user\u interface.h中。