-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mesh] v4.4 - LTE mesh poor performances (IDFGH-9810) #11144
Comments
further investigation is leading the disconnections events to multiple MQTT errors. Here an example:
We'll provide more info further on... not sure if we'll do PRs thought. The other issues are still relevant to mesh:
|
It will be better if you can organized some hardware for us, this can ensure the consistency between our tests and yours. |
let me discuss with my colleagues, there might be some restrictions related to LTE and SIMs :) |
@zhangyanjiaoesp how would you see us making a dedicated VPN access to hardware in Zurich? (or Paris/Milan) We have the strong belief that we will have problems in China the SIM/modem. We would give access to a laptop with a device with the modem attached (and maybe other devices in the same network) |
@zhangyanjiaoesp other question: does the mesh protocol internally implements retries? |
We can have a try.
When call |
Sorry i didn't understand, if i call esp_mesh_send with type P2P -> there are internal retries? |
yes |
Hello @zhangyanjiaoesp , Currently we have the devices sometimes getting stuck in the following condition: coming from the code (which should be as in the default example):
Questions:
i will check if this small change will solve the stuck issue i'm seeing meanwhile |
adding
EDIT: |
@zhangyanjiaoesp could you also please explain the difference between Is MESH_DATA_NONBLOCK necessary for esp_mesh_send to be non-blocking if i set esp_mesh_send_block_time? Thanks! |
@zhangyanjiaoesp , also sometimes we have wifi heap corruption.
|
@KonssnoK Suggest to create a new issue to tracing the heap corruption issue. |
@KonssnoK |
as requested, |
We are still investigating with the network providers and the modem manufacturer. For now this does not seem related to the mesh per se. I will close the issue for now and reopen in case we find that both modem and network are ok. |
Hello @KonssnoK , When Wi-Fi is available, everything works as expected. However, when I disable Wi-Fi, although both the root and node switch to fixed root mode, their behavior confuses me. Below is the log of the root after switching to fixed root mode:
I am not sure if it is actually participating in the mesh network or acting as the root. Could this be because my root is currently not connected to the SIM module? And here is the log of the node:
I tried checking the root by calling esp_mesh_get_type() in mesh_handover_disconnect_callback(), and it still returns a value of 1. I would greatly appreciate it if you could help explain this behavior. Also, what is fake modem actually? |
hi @kieennt13, All "FAKE MODEM" related functions were made to try to simulate a modem in the example connecting to a different WIFI, but they should be ignored and replaced with real modem-related functions. (I always have a real modem-equipped device in the network) The node should start scanning every 30 seconds , they won't connect unless they find a root device or another leaf device already connected to the fixed root. |
and BTW we are still having huge issues with our production Modem, which came out to be the responsible for all the bad performances. |
Hi, @KonssnoK , The mesh network I created is based on a combination of the manual_networking and internal_communication examples from ESP-IDF, so it doesn't need the mesh_netif library. My question is, in a scenario where the mesh switches from Wi-Fi to LTE, how can I ensure that the PPP interface created by the modem has a higher priority than that of Wi-Fi? Also, I would greatly appreciate it if you could provide logs for the root and nodes in the scenario when switching to fixed-root mode. |
Sorry we do not have capacity to provide support on our pieces of code :( |
So sad to hear that :( |
@zhangyanjiaoesp could you please help me figured out this problem? |
Oh, at least, could you share the log of root when it come to root fixed mode? @KonssnoK |
@kieennt13 here is an example log of an handover
|
Thanks a lots for those logs! @KonssnoK |
@kieennt13 we use esp-protocols as addon for supporting AT commands |
@KonssnoK sorry, I don't have much knowlegde about the PPP interface and others related, how do you create a PPP interface with just AT Commands, because based on the Pppos_client example, I see they using modem_dce:
to configured it. |
@kieennt13 esp has a default for a PPP netif interface. |
@KonssnoK |
Answers checklist.
General issue report
Hello there,
now that we have partial fixes for
#9955
#11006
we enabled modem handling in our project.
We already have one beta installation that works exclusively on LTE connection -> Fixed root mesh with LTE and no WIFI
Apparently, there are some issues:
Question:
Meanwhile we will setup in our offices some LTE installations to monitor and in order to give you logs.
The text was updated successfully, but these errors were encountered: