[Olsr-users] olsr position update plugin configuration

Ferry Huberts (spam-protected)
Thu Nov 29 22:00:34 CET 2012


I spent some time to implement dynamic polling of the pud position file.
It's now implemented on the master branch.

On 29/11/12 18:51, Bidur Devkota wrote:
> Hi Teco,
> I tried to send NMEA to UDP socket.
> Though I could not see what I am trying to get but I think I could see
> some positive observations:
>
> 1. When NMEA statement with $GPGGA are send to PORT 2240 , then
> refreshing the POSITION tab could show updated position information (
> sometimes only BUT not always).  Am I doing it properly or something
> else should be done so that the updates can be seen always.
>
> 2. Until the olsrd is running the routing table have  entries of the
> neighbor nodes running olsr. But when olsrd is terminated those entries
> are not seen in the routing table.
>
> Getting up to this was not easy since the configuration of PUD in
> olsrd.conf and accurately estimating the exact port number (among the
> 2240, 2241 and 2242) for the purpose was rather exhaustive.
>
> Still I am not able to access the updated location information of a node
> from other nodes.
>
> Thanking You
> Bidur
>
>
>
>
>
> On Thu, Nov 29, 2012 at 12:55 AM, Teco Boot <(spam-protected)
> <mailto:(spam-protected)>> wrote:
>
>
>     Op 28 nov. 2012, om 18:13 heeft Bidur Devkota het volgende geschreven:
>
>>     Hi Teco,
>>     The GPS data is available ( a python script reads the gps feed
>>     contineously )but I am not able to make the PUD plugin dynamically
>>     read it and update as I have stated earlier.
>     If it is NMEA, send it to a UDP socket.
>
>>
>>     On Wed, Nov 28, 2012 at 9:12 PM, Teco Boot <(spam-protected)
>>     <mailto:(spam-protected)>> wrote:
>>
>>         If you have GPS feed, just make it available.
>>
>>      I am not sure where/how to indicate the continuous GPS feed in
>>     the olsrd.conf file( or somewhere else).
>     config file = static.
>     UDP socket = dynamic.
>     Use your preferred method.
>
>     Here my socat config, for opposite redirection. Adjust it on your
>     requirements.
>     SOCAT=/usr/bin/socat
>     SOCAT_OPTS="-u
>     UDP4-RECV:$GpsRemPort,range=$GpsRemSrcAddress/32,ip-add-embership=$GpsRemMcAddress:$GpsRemInterface
>     PTY,link=/dev/gps0,raw,echo=0"
>     $SOCAT $SOCAT_OPTS &
>
>     Teco
>
>>
>>     Thanks,
>>     Bidur
>>
>>
>
>
>
>
> --
> Regards,
> Bidur Devkota
> Asian Institute of Technology, Thailand
>
>
>

-- 
Ferry Huberts




More information about the Olsr-users mailing list