Open
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
There are two points in this requirement:
- There is no communication status monitoring mechanism. The application layer cannot perceive that there is a problem in the communication layer. In the current code, the heart command has been implemented on the slave side. But the hosted side is not yet complete
- There is no usable implementation for restoring communication. For example, esp_hosted_deinit, esp_hosted_slave_reset, etc. are not implemented correctly yet.
Use cases
The slave may restart abnormally due to some faults, or communication may be impossible due to other reasons. The WiFi\BLE function will be abnormal. However, the application layer cannot know that this exception has occurred and perform necessary operations to restore WiFi/BLE.
If an abnormality is detected, the simplest way is to restart the host to recover. This is acceptable for some projects with low requirements. However, for some projects (such as products with HMI screens), restarting the host will significantly affect the user experience. Therefore, it is necessary to be able to restore hosted communication without restarting the host.
Alternatives
No response
Additional context
No response