This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"SOLVED" BT gps antenna AMTEC
#7
(2016-05-02, 11:58 AM)holgerw Wrote: cepicscepics
in 


sudo nano /etc/rc.local




But nothing happened

I tried also to add those line in open plotter advanced setting, but nothing happened...



I tried to give command "cat /dev/rfcomm0" before and after to give "sudo rfcomm connect 0 00:02:C7:15:94:34 &



hi Mario - if you setup with sudo you must read the dev also with these rights:
sudo cat /dev/rfcomm0

make /dev/rfcomm0 readable for user pi
sudo chown pi /dev/rfcomm0
or
sudo chmod +r /dev/rfcomm0

Also you only need one dev/rfcommx linefor your gps, the others are examples from my setup.
delete your second /DEV/RFCOMM line in rc.local. the # Lines are comments.

also you dont need these lines in kplex.conf - normaly this is only an one shot setup after booting. (/etc/rc.local)
but user pi must be able to read  /dev/rfcomm0


good luck - Holger



 

thanks a lot for your patience


when I log in, if I try to type  sudo cat /dev/rfcomm0, noting happens..
   
   
   
if I type first 
sudo rfcomm connect 0 00:02:C7:15:94:34 &
   
   
and than 
sudo cat /dev/rfcomm0
the terminal start giving data but nothing on OpenCPN

now this is my File: /etc/rc.local 

   

and this my cleaned openplotter advanced setup

   

aiutoooo please

Mauro



 
Reply


Messages In This Thread
"SOLVED" BT gps antenna AMTEC - by cepicscepics - 2016-04-30, 05:03 PM
RE: BT gps antenna AMTEC - by Renato - 2016-04-30, 08:59 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-04-30, 10:41 PM
RE: BT gps antenna AMTEC - by holgerw - 2016-05-01, 11:29 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-02, 10:54 AM
RE: BT gps antenna AMTEC - by holgerw - 2016-05-02, 11:58 AM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-02, 02:48 PM
RE: BT gps antenna AMTEC - by holgerw - 2016-05-02, 03:57 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-02, 05:22 PM
RE: BT gps antenna AMTEC - by Sailoog - 2016-05-02, 07:19 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-02, 10:57 PM
RE: BT gps antenna AMTEC - by Sailoog - 2016-05-03, 12:12 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-03, 01:37 PM
RE: BT gps antenna AMTEC - by holgerw - 2016-05-03, 11:57 AM
RE: BT gps antenna AMTEC - by holgerw - 2016-05-03, 02:11 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-03, 02:33 PM
RE: BT gps antenna AMTEC - by Renato - 2016-05-05, 08:20 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-08, 06:30 PM
BT gps antenna AMTEC - by holgerw - 2016-05-08, 06:35 PM
RE: BT gps antenna AMTEC - by cepicscepics - 2016-05-13, 07:50 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)