Carberry Forum
https://www.carberry.it/forum/

Plain JS Communication
https://www.carberry.it/forum/viewtopic.php?f=9&t=377
Page 1 of 1

Author:  Julian [ Thu Dec 07, 2017 1:05 pm ]
Post subject:  Plain JS Communication

Hi everybody,
currently I am working on a Webbased platform. The Problem i got is following:
I got php and a webserver running on my rasp. I also got a js-file which is similiar to the main.qml of the info panel project.

For test purposes I just called the "update_speed_rpm_usage()" function, which should not affect anything.

The error code I recieve is "errore - la centrale non respondi ai comandi canbus not active".
I found out it means that the canbus is not answering to my prompts.

I tried testing to connect with minicom, which works perfectly fine...

Has anybody got some tips?

If needed I can upload the code here...

EDIT:
for $buffer in line 116 of the socket.php i get "Error - UART Timeout!"


Thank you very much in advance!

Author:  admin [ Tue Dec 18, 2018 10:14 am ]
Post subject:  Re: Plain JS Communication

Hi,
You are using a distro made for Raspberry Pi 2 on Raspberry Pi 3 or 3B+ that have a different serial port.

Please upgrade Carberry daemon to version 1.2 and you will fix it:
http://www.carberry.it/wiki/carberry/rp ... s/carberry

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/