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

Add Generic OnPowerUp Get and Set to app #394

Conversation

gujor
Copy link
Contributor

@gujor gujor commented Jan 12, 2022

This PR adds:

  • Get UI for Generic Power OnOff Server
  • Set UI for Generic Power OnOff Setup Server
Get (initial) Get Restore Set (initial) Set Acked Restore
power_onoff_get_initial power_onoff_get_restore power_onoff_set_initial power_onoff_set_restore_ack

The implementation uses the standard pattern for clients in the app with a GenericPowerOnOffClientDelegate and xibs for UI.

Note: The publicationMessageComposer of the ModelDelegate protocol is not implemented as this an attempt to enable server testing through the app rather than making the app a complete GenericPowerOnOffClient (the same shortcut exists in SensorClientDelegate which was mimicked).

@philips77
Copy link
Member

Thank you for the PR! I'll have a look and come back to you. This may take few days, as I'm busy with another project right now. The UI looks very good!

@philips77 philips77 merged commit c175555 into NordicSemiconductor:main Mar 17, 2022
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

Successfully merging this pull request may close these issues.

2 participants