Plain JS Communication

API and Firmware development

Plain JS Communication

Postby Julian » Thu Dec 07, 2017 1:05 pm

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!
Julian
 
Posts: 3
Joined: Thu Aug 10, 2017 6:31 pm

Re: Plain JS Communication

Postby admin » Tue Dec 18, 2018 10:14 am

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
admin
Site Admin
 
Posts: 40
Joined: Mon May 12, 2014 4:10 pm


Return to API and Firmware

Who is online

Users browsing this forum: No registered users and 1 guest

cron