Carberry Forum

Carberry Development Forum
It is currently Wed Sep 30, 2020 10:55 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Plain JS Communication
PostPosted: Thu Dec 07, 2017 1:05 pm 
Offline

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


Top
 Profile  
 
PostPosted: Tue Dec 18, 2018 10:14 am 
Offline
Site Admin

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group