Re: USB CDC-ACM filter?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag 27 April 2009 13:46:35 schrieb Manuel Naranjo:

> We have some customers that need to send UART signals over the bluetooth 
> link. I know our device is CDC-ACM compliant it only needs some bytes to 
> be removed on the data received, and a little header (2 bytes if I'm not 
> wrong) to the data sent.
> 
> I extended from usb-serial, but usb-serial doesn't give me control over 
> the control interface, I rather need to implement the hole handler. But 
> as my device is CDC-ACM isn't there any way to extend CDC-ACM like we do 
> with usb-serial and just add my little filter on in/out bulk transfers?

You'd modify acm_tty_write() and strip the headers in acm_rx_tasklet()
But are you sure you need all the serial stuff cdc-acm has to support?

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux