[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] bb cmd protocol? (was [hobbit] Windows version of a fully functional bb command)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] bb cmd protocol? (was [hobbit] Windows version of a fully functional bb command)
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Fri, 21 Mar 2008 10:02:01 +0100
- References: <E3DD778AAB612749A8C610B39D1850DA1DF2BD (at) msitmx02.fellowes-na.com> <47E29F04.2060505 (at) cisco.com> <20080320213943.GA12358 (at) hswn.dk> <47E2E87E.7030409 (at) cisco.com>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
The description of the "Message Syntax" in the man-page is what you need
to know. Hobbit uses plain TCP, and data being transferred is plain
text. I.e.
- connect to tcp port 1984
- send "status www,foo,com.mytest green"
- close the connection
Regards,
Henrik
On Thu, Mar 20, 2008 at 03:43:10PM -0700, Charles Jones wrote:
> Henrik,
>
> I'm talking about the connection protocol, not the message protocol. So
> that I can write code that can connect to a BBDISPLAY and send/receive
> data, without shelling out and using a bb binary. I've tried telnetting to
> port 1984 and typing various commands, and also using netcat, none of which
> seem to work, so I suspect that hobbitd is expecting to see some certain
> characters before it will accept a command.
>
> -Charles
>
> Henrik Stoerner wrote:
>> On Thu, Mar 20, 2008 at 10:29:40AM -0700, Charles Jones wrote:
>>
>>> Speaking of such, is the protocol for the bb command published anywhere?
>>>
>>
>> See the bb(1) man-page.