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

MobileNetwork watcher cannot distinguish on/off state #89

Open
Cypresslin opened this issue Jul 11, 2016 · 0 comments
Open

MobileNetwork watcher cannot distinguish on/off state #89

Cypresslin opened this issue Jul 11, 2016 · 0 comments

Comments

@Cypresslin
Copy link
Owner

For the MobileNetwork switch events, they're all called:

  • MobileDataEnabled
  • DataRoamingEnabled

It needs this code to get the state checking work:

events = {'MobileDataEnabled\\0\\1b\\0\\0\\0\\0\\1\\0\\0\\0': 'True', 'MobileDataEnabled\\0\\1b\\0\\0\\0\\0\\0\\0\\0\\0': 'False',
          'DataRoamingEnabled\\0\\1b\\0\\0\\0\\1\\0\\0\\0': 'Ture', 'DataRoamingEnabled\\0\\1b\\0\\0\\0\\0\\0\\0\\0': 'False'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant