Re: Not able build telematics for Raspberry Pi3

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

 



On Tue, 10 Nov 2020, RAKESH wrote:

> Sure Scott,
> Thank you :)

Rakesh,

I've uploaded a change that adds the automatic vcan support that is in
agl-demo-platform to the agl-telematics-demo-platform image, you can try
cherry-picking it from:

https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-telematics-demo/+/25577

If you rebuild an image with that, it will automatically bring up can0 (or
whatever other interface is in /etc/dev-mapping.conf) as a vcan interface
if there is no hardware CAN present.  You can then drive some test
traffic by logging in and running "simple_can_simulator.py can0", which
will send vehicle and engine speed responses to the CAN binding's
diagnostic requests.

With respect to your telematics-recorder.conf, the MQTT section should
look like:

[MQTT]
broker=iot.eclipse.org
port=1883
keepalive=60

I would probably advise trying with a local instance of mosquitto at
first, it is easy to install and run on most Linux distributions, and if
you run it with "-v" you can see the incoming messages logged on the
terminal and know that things are working.

Scott




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8842): https://lists.automotivelinux.org/g/agl-dev-community/message/8842
Mute This Topic: https://lists.automotivelinux.org/mt/77834383/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux