Skip to content
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

wifi-update [V42] #12991

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mikhailzrick
Copy link
Contributor

Refactor some code involved in batocera-wifi and S08connman

S08connman - splits the disable/enable into seperate functions instead of using "wifi_enable" to disable wifi. Refactor/optimize the wait loop. Reduce sleep time between stop and start in restart case(the only thing that is dependent on this is batocera-wifi setting wifi data before calling S08connman reload. There needs to be a brief wait period for batocera-settings-set to be applied, 0.5 is more than enough)

batocera-wifi - adds wait_for_ip function and optimizes the loop. wait_for_ip up is for when es wifi toggle is enabled, down is for when toggle is disabled, so wait time does not have to be the same.

Update S08connman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants