HomeSpan/examples
Gregg 0a5cf52569 Modified Service::update() to return boolean instead of StatusCode
Also moved StatusCode definitions from Settings.h to HAPConstants.h.  There was no reason to have the user return a StatusCode of OK or UNABLE from update() since the only other choice was BUSY and HomeKit does not seem to distinguish errors.  Either it's okay or not okay, which can more easily be represented by a simply return of TRUE or FALSE from update().

The user now needs to know nothing about StatusCodes.   All Examples were modified to change StatusCode update() to boolean update() and return(StatusCode:OK) to return (true).

Much simpler.
2020-10-01 21:41:26 -05:00
..
Tutorials Modified Service::update() to return boolean instead of StatusCode 2020-10-01 21:41:26 -05:00
ZephyrHood Completed Zephyr Vent Hood Example 2020-08-23 13:03:14 -05:00
ZephyrHood2 FInal Version of Zephyr2 2020-08-24 07:42:50 -05:00
ZephyrHood3 Update ZephyrHood3.ino 2020-08-26 17:45:00 -05:00