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

Introduce the second meaning for the Offline variable. #460

Open
przemyslawzygmunt opened this issue Sep 20, 2024 · 1 comment
Open

Introduce the second meaning for the Offline variable. #460

przemyslawzygmunt opened this issue Sep 20, 2024 · 1 comment
Assignees

Comments

@przemyslawzygmunt
Copy link
Member

No description provided.

@przemyslawzygmunt przemyslawzygmunt self-assigned this Sep 20, 2024
@przemyslawzygmunt
Copy link
Member Author

przemyslawzygmunt commented Sep 20, 2024

offline ( 0 false, 1 true, 2 online but not available) - Value 2 is already used by Auraton Box.
online ( 0 false, 1 true, 2 online but not available).
You need to upgrade the protocol version and for Android JNI switch to ENUM(offline == 0, online == 1, online but not available == 2)

fid = supla_client_GetFieldID(env, cch, "OnLine", "Z");

fid = supla_client_GetFieldID(env, cval, "OnLine", "Z");

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