Setting callback functions for ux_device_class_cdc_acm with SSP (2.3.0 and also 2.4.0) fails

The functions ux_device_class_cdc_acm_ioctl(g_cdc, UX_SLAVE_CLASS_CDC_ACM_IOCTL_TRANSMISSION_START, &call_back) and ux_device_class_cdc_acm_ioctl(g_cdc, UX_SLAVE_CLASS_CDC_ACM_IOCTL_TRANSMISSION_STOP,  UX_NULL) returns error 0x54 (UX_FUNCTION_NOT_SUPPORTED).

Error?

Parents Reply
  • See the S5D5_TB_CDC_ACM_non_blocking USB example:

        /* Specify the read and write callback functions that can be used with the ux_device_class_cdc_acm_ioctl function */
        call_back.ux_device_class_cdc_acm_parameter_read_callback = cdc_acm_read_callback;
        call_back.ux_device_class_cdc_acm_parameter_write_callback = cdc_acm_write_callback;
        status = ux_device_class_cdc_acm_ioctl(gp_cdc, UX_SLAVE_CLASS_CDC_ACM_IOCTL_TRANSMISSION_START, &call_back);
        The function ux_device_class_cdc_acm_ioctl returns 0x54

Children