Re: [Interest] QtSerialBus on Android

2019-12-13 Thread Christian Gagneraud
On Sat, 14 Dec 2019 at 05:10, Thiago Macieira wrote: > > On Thursday, 12 December 2019 18:28:26 PST Christian Gagneraud wrote: > > A stock Android NDK has the kernel headers for CAN, but doesn't have > > libsocketcan. > > libsocketcan doesn't seem to be necessary, as per configure's output > > A

Re: [Interest] QtSerialBus on Android

2019-12-13 Thread Thiago Macieira
On Thursday, 12 December 2019 18:28:26 PST Christian Gagneraud wrote: > A stock Android NDK has the kernel headers for CAN, but doesn't have > libsocketcan. > libsocketcan doesn't seem to be necessary, as per configure's output A stock Android *phone* 8doesn't have a CAN bus in the first place.

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Fri, 13 Dec 2019 at 19:42, André Hartmann wrote: > > Hi Christian, > > > A stock Android NDK has the kernel headers for CAN, but doesn't have > > libsocketcan. > > libsocketcan doesn't seem to be necessary, as per configure's output > > No, it is not mandatory. But for 5.14 it became optional

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread André Hartmann
Hi Christian, A stock Android NDK has the kernel headers for CAN, but doesn't have libsocketcan. libsocketcan doesn't seem to be necessary, as per configure's output No, it is not mandatory. But for 5.14 it became optional (loaded at runtime) to provide additional information about the CAN

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Fri, 13 Dec 2019 at 01:55, Denis Shienkov wrote: > > Hi, > > > Yes I saw that, but same apply to QtSerialPort, i don't see why it's > not available on Android. Android IS a Linux system, and it does have > the tty bits. > > Because it requires the root right to use the serial ports in Android.

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Denis Shienkov
Hi, > Yes I saw that, but same apply to QtSerialPort, i don't see why it's not available on Android. Android IS a Linux system, and it does have the tty bits. Because it requires the root right to use the serial ports in Android. Do you have a root rights for any device? Do you have the

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Thu, 12 Dec 2019 at 20:00, André Hartmann wrote: > > Hi Christian, > > QtSerialBus had a QtSerialPort dependency up to 5.12, which was removed > in 5.13. Yes I saw that, but same apply to QtSerialPort, i don't see why it's not available on Android. Android IS a Linux system, and it does have

Re: [Interest] QtSerialBus on Android

2019-12-11 Thread André Hartmann
Hi Christian, QtSerialBus had a QtSerialPort dependency up to 5.12, which was removed in 5.13. So you can use QtSerialBus under Android now, at least the Modbus/TCP part. Modbus RTU is not available due to missing serial port, and from the CAN bus side you will most likely only be able to

[Interest] QtSerialBus on Android

2019-12-11 Thread Christian Gagneraud
Hi there, Any reason why QtSerialBus is not available on Android? I'm using Qt-5.12 on armv7. We have our custom N2K stack that just works on Android (using socketcan). But i'm working on a project where i would prefer to use QSerialBus for all the low level stuff. I haven't try to build it