Open dpmurphy opened 2 years ago
Noted. Thanks @dpmurphy
also check issue #231 on this.....
Tracked as PSDK-293
RegisterEventCB still takes enum HSEvent, not EHsSytemsEvent, but HSEvent is deprecated. So what do we do? Do you have a replacement for RegisterEventCB(enum HSEvent) which takes EHsSytemsEvent instead?
Or we just ignore the Obsolete warning?
For now, ignore the Obsolete warning. We will add a replacement for RegisterEventCB as part of PSDK-293
Getting this message on the pdk 1.4.2 release.
Warning CS0618 'Constants.HSEvent' is obsolete: 'This is being deprecated. Please use the values provided by Types.EHsSystemEvent.' HSPI_DMMQTT C:\Users\dmurphy\source\repos\hspi_dmmqtt\Controller.cs 343 Active
2 issues.
Types.EHsSystemEvent doesn't exist it's currently in Systems.EHsSytemsEvent
RegisterEventCB only accepts Constants.HSEvent