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 UI for temperature sensor in CHIPTool iOS app #3250

Merged

Conversation

shana-apple
Copy link
Contributor

@shana-apple shana-apple commented Oct 14, 2020

IMG_0836
Adds UI to control the temperature sensor app.
Add UI to send reporting controls

Call CHIPTemperatureMeasurement methods (although they currently do not return a value but an NSError pending @vivien-apple 's patch.)

Fixes #2983

@andy31415
Copy link
Contributor

Some code here seems to be shared with wifi-echo example. Could we somehow reuse things instead of duplicating? This would help any refactoring that is expected, since we are still developing some API and message layer bits.

@shana-apple
Copy link
Contributor Author

Some code here seems to be shared with wifi-echo example. Could we somehow reuse things instead of duplicating? This would help any refactoring that is expected, since we are still developing some API and message layer bits.

Actually the shared code is from the commit of the other PR that this PR is blocked on. This specific UI does not add any shared code. I do have an issue tracking removing duplicated code from the esp32 example apps.

@vivien-apple
Copy link
Contributor

@shana-apple Now that #3053 has landed can you update this PR ? That will make it easier to see the relevant diff.

@andy31415
Copy link
Contributor

@shana-apple - dependency seems to have been merged, however this PR became stale.

Should we update or drop?

@shana-apple
Copy link
Contributor Author

@shana-apple - dependency seems to have been merged, however this PR became stale.

Should we update or drop?

I'll update :)

@woody-apple
Copy link
Contributor

ping @shana-apple :)

@shana-apple
Copy link
Contributor Author

@woody-apple was waiting on the callback APIs, which I have adopted in their first version pending @vivien-apple's changes. But this can go in as is

@woody-apple
Copy link
Contributor

Thanks!

@jelderton @andy31415 @saurabhst ?

@woody-apple woody-apple added this to the V0.7 milestone Jan 29, 2021
@woody-apple woody-apple merged commit 43e5ae6 into project-chip:master Jan 29, 2021
austinh0 pushed a commit to austinh0/connectedhomeip that referenced this pull request Feb 3, 2021
* Add UI screen to controll temeprature sensor from iOS app

* Add reporting setup code

* Call CHIPTemperatureMeasurement callback methods

* Add dismiss keyboard and some logs

* Restyled by whitespace

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
austinh0 pushed a commit to austinh0/connectedhomeip that referenced this pull request Feb 3, 2021
* Add UI screen to controll temeprature sensor from iOS app

* Add reporting setup code

* Call CHIPTemperatureMeasurement callback methods

* Add dismiss keyboard and some logs

* Restyled by whitespace

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
austinh0 pushed a commit to austinh0/connectedhomeip that referenced this pull request Feb 4, 2021
* Add UI screen to controll temeprature sensor from iOS app

* Add reporting setup code

* Call CHIPTemperatureMeasurement callback methods

* Add dismiss keyboard and some logs

* Restyled by whitespace

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UI for temperature sensor in CHIPTool iOS app
7 participants