Skip to content

asCapable is not being "seen" by the proxy #108

@christopher-s-hall

Description

@christopher-s-hall

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions