[Olsr-dev] adding config to txtinfo plugin?

Hans-Christoph Steiner (spam-protected)
Thu May 3 18:09:13 CEST 2012


On May 3, 2012, at 11:59 AM, Henning Rogge wrote:

> On Thu, May 3, 2012 at 4:22 PM, Hans-Christoph Steiner
> <(spam-protected)> wrote:
>>> Or maybe I should just scrape the httpinfo output...
>> 
>> not agood idea (especially as current httpinfo will not make into next olsrd
>> versions,..)
>> 
>> Markus
> 
>> Good to know.
> 
> All necessary tools to write a good httpinfo plugin will be there in
> the new code (including a small http-server), but we are still looking
> for someone who would be interested in writing one.

I'm currently working on getting the olsrd output into other programs, right now using Java for the Commotion OLSRMeshTether Android app.  So an easily parsable format is best.  The current txtinfo output is OK, but not ideal.  One thing that would be nicer would be if I issue a command (i.e. /hna) then receive back only data, no headers, etc.  Or maybe just a header.  txtinfo outputs an HTTP header now.  Using a standardized data format like JSON or S-expressions (or maybe even XML, ug) would also make it easy to parse.

For a generally accessible interface, a complete admin web-interface would be nice too, but that's separate from what I'm working on now.

.hc



More information about the Olsr-dev mailing list