[Development] New Module for Serial Buses

Jeremy Lainé jeremy.laine at m4x.org
Fri May 29 22:12:20 CEST 2015


On 05/29/2015 04:27 PM, Denis Shienkov wrote:
>
> So, any payload of data is in 8 bytes.. and all of input/output is
> carried out by messages, but not separate bytes (as in
> sockets/pipes/serialport).
>
> I don't know as how will look the CanDevice (derived from QIODevice),
> because QIODevice::read/write methods has not sense. Because, what is
> happens in case I want to write half (or part) of CAN message?
>
> IMHO, this is non-trivial issue to try to unify all interfaces to
> QIODevice..  :)
>

QUdpSocket is also a QIODevice-derived class which does message-oriented
communications :)

Jeremy



More information about the Development mailing list