Update to Version 2.2.1
New features:
-
New Callback functions for onConnected / onDisconnected
- SinricPro.onConnected(std::function<void(void)>);
- SinricPro.onDisconnected(std::function<void(void)>);
-
Automatic device addition
- You can use
SinricProSwitch& mySwitch = SinricPro[DEVICEID];
to add a new device.
- You can use
Changed:
- Stronger id validation (app-key, app-secret and deviceIds)
- Added more details to debug log about wrong id's
Fixed:
- Typos