Need info on how to Integrate MQTT in android Automotive

333 views
Skip to first unread message

Rohit Iti

unread,
Nov 11, 2020, 12:50:43 AM11/11/20
to Android Automotive OS Discussion Group
Hello,
I wanted to integrate mqtt in AOSP. What want is to send the data from another system and receive it in AOSP and update carservice which will be read at HMI. 

Is there a way to do this ?

Thanks and Regards,
 Rohit Iti

William Smith

unread,
Nov 11, 2020, 1:48:33 AM11/11/20
to Android Automotive OS Discussion Group, rohit...@gmail.com
Mosquitto works in Android if you want a broker. It has to be compiled a bit differently because Android does not have pthread_cancel().
Check out the make options and you might need a single thread option.

PAHO works if you want a Java client for Android apps.
There are also a number of tutorials out there.

Best regards,
William
Reply all
Reply to author
Forward
0 new messages