image
image
image

Votre IP : 54.196.248.93
Dernier ajout : 29 mars
Visiteurs connectés : 21

image Conception
Développé sous SPIP
Informations légales

image
image
Recherche image

Pratiques et Techniques de la Plaisance

image

Accueil du site > OpenCPN > Articles OpenCPN > OpenCPN Networking / repeater to tablet PCs

Rubrique : Articles OpenCPN

__________________________________________________________________________________________________________________

OpenCPN Networking / repeater to tablet PCsVersion imprimable de cet article Version imprimable

Publié Mars 2015, (màj Mars 2015) par : Nevermind   

Copyright : Les articles sont la propriété de leurs auteurs et ne peuvent pas être reproduits en partie ou totalité sans leur accord
S'identifier pour s'abonner par mail Inscrit aux forum vous pourriez transmettre cette page à un ami plaisancier

Mots-clés secondaires: électronique

Opencpn network/RJ45 (Ethernet) cable

The means :

  1. OpenCPN, know IP of the server PC, have an RJ45 (Ethernet) cable or Wifi on both PC
  2. have set both networked PCs, cable or Wifi
  3. OpenCPN on the PC server

Setting OpenCPN on the PC server
  • Setting Options
    • connections
      • add Connection
  • Set as follows by putting your IP address followed by : xx
    • Properties => "Network
    • Protocol => “UDP
    • Adress => your IP address followed by : “.x.x
    • Data Port com “10110
    • Out Put on this port “OK
  • Set “Apply” and then “OK

- 

- 


Setting OpenCPN on PC Receiver
  • Setting Options
    • connections
      • add Connection
  • Set as follows by putting only this IP address, for UDP protocol : 0.0.0.0
    • Properties => "Network
    • Protocol => “UDP
    • Adress => “0.0.0.0
    • Data Port com “10110
    • Receive Input on this port “OK
  • Set “Apply” and then “OK

- 

Networking

On the server PCOn the PC Receiver

- 

  • For this example, all the NMEA data from the GPS and display of AIS data
On the server PCOn the PC Receiver

- 

  • The emission readings and receiving NMEA sentences, under the AIS receptions.
  • We see that every sentence received by the transmitter is immediately re-shipped by outgoing connection

- 

NMEA information goes through the RJ45 cable or WiFi and are received on the other PC.
With this application you can have a PC inside and another type tablet outdoors


Opencpn network/Wifi

On the transmitter PC : create a new profile and name it on the receiver PC => Network sharing center => Set up a new connection Naming the network : his name must be identical to the server

- 

  • The server must be on the same connection
Choose the connection from the listAnd you get this

- 


OpenCPN WiFi network between XP, W7 and W8 tablet

Creation of a network using a batch file


Start by typing the text in Notepad, putting your network name and passport :

cd\
cd windows\system32
netsh wlan set hostednetwork mode=allow ssid=monreseau key=macleamoi keyUsage=persistent
netsh wlan start hostednetwork

For this example, the name given to the network is « monreseau » and the key « macleamoi ».

- 

  • You will have a file with two toothed wheel as an icon :

- 

- 

  • Save and run the batch file
    • A batch file processing, performs an automatic sequence of commands (process) on a computer without operator intervention.
    • It is identifiable by its extension : xxxxx.BAT
  • For this example we will change the xxxx.TXT’s extension, by xxxx.BAT
  • Then save the file under this name
  • To run the file xxxx. BAT : right click on the file and ask “Run as administrator

- 

  • The virtual card was created :
  • And the connection :

- 

  • OpenCPN set as follows by putting IP of your PC :

- 

  • Setting the client :

- 

  • It’ll just connect to the network created and run on both PC OpenCPN

Nevermind, Macinaggio février/mars 2015
Mise en page Laorana Finike,
- 

UP


Répondre à cet article
(pour répondre à un message en particulier, voir plus bas dans le fil)

5 Messages de forum

__________________________________________________________________________________________________________________

__________________________________________________________________________________________________________________

  • 9 mars 2015 15:26, par lysigee écrire     UP  image Animateur

    Bonjour à tous
    Je vois bien comment connecter deux PC, (ou un PC et une tablette sous windows) mais pour ma part, je n’arrive pas à faire parler un PC sous Windows 8.1 et un Android.
    L’Android n’arrive pas à obtenir une adresse IP. et bien souvent la commande « Net wlan start ... » plante.
    N’étant pas patient, je me suis tourné vers le logiciel Connectify, qui fait tout çà tout seul. l’Inconvénient c’est que ce n’est pas un logiciel libre et qu’il est maintenant payant (27 euros).
    Robert
    A+

    Répondre à ce message

  • 5 janvier 2018 14:56, par bernard03 écrire     UP  image

    Bonjour,
    J’ai réussi, il y a quelques temps, à connecter, en WIFI ad-hoc, OPENCPN de mon PC sous W7 à ma tablette Android grâce à l’article de « Nevermind ». L’OPENCPN du PC récupérait les informations du GPS intégré de ma tablette.
    Cette liaison ne fonctionne plus. Seul la transmission du PC vers la tablette fonctionne, en sens inverse pas de message NMEA sur le PC.
    Après moult essais, il semblerait que cela vienne de la nouvelle version 1.015 d’OPENCPN sous Android.
    Merci pour vos idées.
    Cordialement.

    Répondre à ce message

    • 5 janvier 2018 15:21, par yoruk écrire     UP     Ce message répond à ... Animateur

      Bonjour
      On va essayer de simplifier un peu la vie... L’utilisation de la WiFi ou de Bluetooth pour la mise en place d’un répétiteur dans le cockpit, a tenté les utilisateurs d’OpenCPN à l’époque où la version android fonctionnait mal. Elle permettait de récupérer les info OpenCPN sous Windows depuis la table carte...
      Ca fonctionnait plus ou moins, c’était selon... Aujourd’hui, la version android d’OpenCPN fonctionne parfaitement sur une tablette ou un smartphone, en utilisant leurs GPS internes.
      Le problème ne se pose plus, et c’est peut être pourquoi les développeur ont laissé tomber les liaisons W/android.
      Il faudra simplement veiller à limiter la taille de la cartographie sur une tablette limité en mémoire... c’est tout
      Par ailleurs, le fait de doubler les postes : OpenCPN/Wondows sur la table à carte avec un petit GPS USB à trois sous, et la tablette dans le cockpit permet, pour les atterrissages, de gérer d’autres programmes, dont la carto Navionics, avec une grande facilité...
      Voilà... pour dire que j’ai perdu de vue les liaisons tablette/PC... désolé
      Néanmoins, si vous souhaitez plus de documention, il faut voir le chapitre dédié à ce sujet dans l’excellente documentation officielle (en anglais, mais Chrome traduit très bien) : https://opencpn.org/wiki/dokuwiki/d...
      Michel

      Répondre à ce message

Répondre à cet article

UP

Copyright et informations légales