You use this code to get the value of asCapable from PTP4L:
case CMLDS_INFO_NP:
if(pe.as_capable == ((CMLDS_INFO_NP_t *)data)->as_capable) {
PrintDebug("Ignore unchanged as_capable");
return;
}
pe.as_capable = \
((CMLDS_INFO_NP_t *)data)->as_capable > 0 ? true : false;
//printf("as_capable = %d\n\n", pe.as_capable);
break;
The problem is that PTP4L never pushes this notification. The result is that asCapable in the proxy/client is always false. There must be subscription option that includes this and the code in port.c needs to push this through port_notify_event() when asCapable changes
You use this code to get the value of asCapable from PTP4L:
The problem is that PTP4L never pushes this notification. The result is that asCapable in the proxy/client is always false. There must be subscription option that includes this and the code in port.c needs to push this through port_notify_event() when asCapable changes