HomeSpan/examples/Tutorials/C-Advanced/10-RGB_LED
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
..
10-RGB_LED.ino Re-organized Example Files into Tutorial Subfolders 2020-08-18 20:53:22 -05:00
DEV_Identify.h Modified Service::update() to return boolean instead of StatusCode 2020-10-01 21:41:26 -05:00
DEV_LED.h Modified Service::update() to return boolean instead of StatusCode 2020-10-01 21:41:26 -05:00