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

Return to API and Firmware

Who is online

Users browsing this forum: No registered users and 1 guest

cron