Comments (9)
抱歉,这段时间没有上gtihub,没有看到。因为修改是在公司的项目中进行的,不方便贴源代码。我只能给出修改思路。对比iPhone,我跟踪Android APP发现两个问题:1.guide code和data code经常没有完整发送完,这个有很大概率会导致发送配网数据失败,修改__execute函数主要是解决这个问题;2.在__listenAsyn函数里,超时收到反馈时,是忽略结果的,这个要改掉,Android手机的硬件差异导致,很多手机上必然会存在接收超时。另外,mWaitUdpReceivingMilliseond和mWaitUdpSendingMillisecond我都调小了,设置那么长时间,没有意义的,能成功很快就成功了,不能成功时间再久也没有用。mTotalRepeatTime增加了。一般来说,两次就够了,安全起见,我设置为3次。
from esptouchforandroid.
今天跟踪了好久,终于找到原因了并解决问题了。请大家检查一下__EsptouchTask文件中的__execute函数执行流程,我是把这个函数重写了后解决问题的。
from esptouchforandroid.
今天跟踪了好久,终于找到原因了并解决问题了。请大家检查一下__EsptouchTask文件中的__execute函数执行流程,我是把这个函数重写了后解决问题的。
大神 是否可以帖一下代码学习一下 膜拜中
from esptouchforandroid.
今天跟踪了好久,终于找到原因了并解决问题了。请大家检查一下__EsptouchTask文件中的__execute函数执行流程,我是把这个函数重写了后解决问题的。
__execute的工作流程看了,不知道怎么修改,跪求大神赐教
from esptouchforandroid.
今天跟踪了好久,终于找到原因了并解决问题了。请大家检查一下__EsptouchTask文件中的__execute函数执行流程,我是把这个函数重写了后解决问题的。
能不能分享下怎么修改的 OTL
from esptouchforandroid.
@Tingdang How to change "__execute" function in "__EsptouchTask" class. I have the same problem on android 9 and 10, android below working fine, please help me.
from esptouchforandroid.
@XuXiangJun Please tell me, how to fix this bug? I can't config esp using android 9 and 10.
from esptouchforandroid.
抱歉,这段时间没有上gtihub,没有看到。因为修改是在公司的项目中进行的,不方便贴源代码。我只能给出修改思路。对比iPhone,我跟踪Android APP发现两个问题:1.guide code和data code经常没有完整发送完,这个有很大概率会导致发送配网数据失败,修改__execute函数主要是解决这个问题;2.在__listenAsyn函数里,超时收到反馈时,是忽略结果的,这个要改掉,Android手机的硬件差异导致,很多手机上必然会存在接收超时。另外,mWaitUdpReceivingMilliseond和mWaitUdpSendingMillisecond我都调小了,设置那么长时间,没有意义的,能成功很快就成功了,不能成功时间再久也没有用。mTotalRepeatTime增加了。一般来说,两次就够了,安全起见,我设置为3次。
hi @Tingdang,
Thank you for your reply to my comment. But I can't resolve my problem, some router can't send data to ESP in Android 9 or 10 but ios and Android below working fine. Can you show me the source code of "__execute" function?
Hope you help me.
from esptouchforandroid.
能否提个PR修复一下
from esptouchforandroid.
Related Issues (20)
- Android APP 在水星路由器下配网失败!IOS 却可以 HOT 2
- android打包报错 HOT 1
- Class file has wrong version 55.0, should be 52.0 HOT 1
- 多模组同时配网 HOT 1
- 返回ip地址 HOT 1
- 编译不通过,导包都正常 HOT 1
- 5g频段wifi HOT 1
- 智能配网 HOT 4
- LocalOnlyHotspot fail to send socket
- ESPTouch For Flutter Support HOT 1
- Sometimes the device is not Scanning/Connecting HOT 4
- 请问ESP8266怎么使用esptouchV2 HOT 2
- Can this work without Location access HOT 1
- 使用V2版本的aesKey加密配网的疑问? HOT 2
- Send Data from esp to Android HOT 1
- b4a
- 配网失败 HOT 2
- how to get custom data from phone to esp32 via ESPTouch V2 HOT 1
- Esptouch v2 for esp8266
- ESPTouch V1 Cannot Configure Any ESP32 Device
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esptouchforandroid.