1. How can I detect and respond to camera events, such as changes in shutter speed or ISO settings done right on the camera itself, without binding WPF controls to PropertyChangedNotifiers? Say, the user changes the JPEG compression level on the camera from Fine to Normal: I assume the camera would send a CONST_PROP_CompressionLevel notification - but how can I catch it? Is there an event notifier method I could hook into? How would I do that?
2. In trying to connect to a Nikon camera with a WU-1A WiFi adapter, I looked at what you did in GetIpWnd and tried to extract what I need to connect directly to my camera. I thought I could simply compress it to this:
Code: Select all
try
{
IWifiDeviceProvider wifiDeviceProvider;
ServiceProvider.DeviceManager.AddDevice(wifiDeviceProvider.Connect("192.168.1.1"));
}
catch (Exception exception)
{
Log.Error("Unable to connect to WiFi device", exception);
}