Is it possible to subscribe to a System event using a class member function for the callback?
I have tried both these calls and they both will not compile
This style works for registering a Software timer, but not for System.on
System.on(cloud_status, &NetworkControl::CloudStatusEvent, *this);
this one also does not compile
auto CloudHandler = std::bind(&NetworkControl::CloudStatusEvent, this, std::placeholders::_1, std::placeholders::_2);
where the class function is defined as
void NetworkControl::CloudStatusEvent(system_event_t event, int data)