cordova插件esptouch在Ios16上不起作用

sgtfey8w  于 2023-02-10  发布在  iOS
关注(0)|答案(1)|浏览(240)

我的应用程序内置在 cordova phnegap使用cordova-plugin-esptouch插件,它在低于16.0的iOS版本上运行良好。
下面是Debbugger在iOS 13(或14或15)上的回报:

2023-02-06 21:27:05.014416+0100 test[2071:64929] ssid: Eki, bssid: 00:00:00:00:00:00, apPwd: eki123
2023-02-06 21:27:05.016094+0100 testn[2071:64929] Welcome Esptouch v0.3.7.0
2023-02-06 21:27:05.016216+0100 test[2071:64929] ESPTouchTask init
2023-02-06 21:27:05.017034+0100 test[2071:64929] ##########################client init() _sck_fd4=10
2023-02-06 21:27:05.017115+0100 test[2071:64929] ##########################client init() _sck_fd6=13
2023-02-06 21:27:05.017191+0100 test[2071:64929] ##########################server init(): _sck_fd4=14
2023-02-06 21:27:05.017318+0100 test[2071:64929] ##########################server init(): _sck_fd6=15
2023-02-06 21:27:05.017381+0100 test[2071:64929] ESPTouchTask app server port is 18266
2023-02-06 21:27:05.017454+0100 test[2071:64929] ESPTouchTask executeForResult() localInetAddr: 192.168.2.137
2023-02-06 21:27:05.018208+0100 test[2071:64929] ESPTouchTask __execute() send gc code
2023-02-06 21:27:05.018222+0100 test[2071:64930] ESPTouchTask beginBackgroundTask() entrance
2023-02-06 21:27:05.020075+0100 test[2071:64930] ESPTouchTask __listenAsyn() start an asyn listen task, current thread is: <NSThread: 0x282bb6e00>{number = 5, name = (null)}
2023-02-06 21:27:05.020192+0100 test[2071:64930] ESPTouchTask __listenAsyn() expectOneByte: 18
2023-02-06 21:27:11.026271+0100 test[2071:64929] ESPTouchTask __execute() send gc code

这就是Debbugger在iOS 16上的回报:

2023-02-06 21:32:11.415065+0100 test[14030:3910256] ssid: Eki, bssid: 00:00:00:00:00:00, apPwd: eki123
2023-02-06 21:32:11.415841+0100 test[14030:3910256] Welcome Esptouch v0.3.7.0
2023-02-06 21:32:11.415941+0100 test[14030:3910256] ESPTouchTask init
2023-02-06 21:32:11.416769+0100 test[14030:3910256] ##########################client init() _sck_fd4=8
2023-02-06 21:32:11.416833+0100 test[14030:3910256] ##########################client init() _sck_fd6=9
2023-02-06 21:32:11.416938+0100 test[14030:3910256] ##########################server init(): _sck_fd4=10
2023-02-06 21:32:11.417042+0100 test[14030:3910256] ##########################server init(): _sck_fd6=11
2023-02-06 21:32:11.417099+0100 test[14030:3910256] ESPTouchTask app server port is 18266
2023-02-06 21:32:11.417156+0100 test[14030:3910256] ESPTouchTask executeForResult() localInetAddr: 192.168.2.109
2023-02-06 21:32:11.417755+0100 test[14030:3910256] ESPTouchTask __execute() send gc code
2023-02-06 21:32:11.417810+0100 test[14030:3910487] ESPTouchTask beginBackgroundTask() entrance
client: sendto fail, but just ignore it
: No route to host
2023-02-06 21:32:11.420914+0100 test[14030:3910487] ESPTouchTask __listenAsyn() start an asyn listen task, current thread is: <NSThread: 0x2817e6300>{number = 8, name = (null)}
2023-02-06 21:32:11.421004+0100 test[14030:3910487] ESPTouchTask __listenAsyn() expectOneByte: 18
client: sendto fail, but just ignore it
: No route to host
client: sendto fail, but just ignore it
: No route to host
client: sendto fail, but just ignore it

有人知道出了什么问题吗?先谢谢你们。
我试过卸载并重新安装插件,我也试过新版本的cordova-plugin-esptouch 2.0,但没有任何效果。我在ios 13,14,15和16上测试过,只有在版本16上它不工作。

sqxo8psd

sqxo8psd1#

ESPTouch v2不适用于ESP8266,我也遇到了同样的问题,你找到解决办法了吗?https://github.com/coloz/cordova-plugin-esptouch/issues/14

相关问题