Skip to content

Update to Version 2.2.1

Compare
Choose a tag to compare
@sivar2311 sivar2311 released this 09 Nov 05:53
· 584 commits to master since this release

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.

Changed:

  • Stronger id validation (app-key, app-secret and deviceIds)
  • Added more details to debug log about wrong id's

Fixed:

  • Typos