[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] Stack library



Le Dimanche 18 Février 2001 22:55, Matthew Palmer a écrit :
> On Fri, 16 Feb 2001, david LIBAULT wrote:
> > Le Jeudi 15 Février 2001 03:58, Matthew Palmer a écrit :
> > > I've been doing some reading, and I think that producing a library is
> > > not that big a hassle.  The Ericsson PC reference stack contains an API
> > > for programming with BT, and I don't see why we couldn't emulate
> > > something like that.  It has a Connection Manager interface, which is
> > > roughly analogous to btd, and which will possibly connect to a daemon
> > > or kernel module.
> >
> > I already did it. I built everything in src into on library. Then I link
> > the library with different applications (for different testing) all
> > inspired from btd.c.
>
> Is this freely available somewhere?
>

It will be available (if this is of some interest for anyone) when the CVS is 
ready...

> > > The Ericsson API contains a lot of messages being passed back and forth
> > > - my thought is to multi-thread the library and write it all in C++. 
> > > It would be possible to do it in C, but it would be untidy, and
> > > probably wouldn't support a lot of the dynamic aspects of BT real well.
> > >  With C++ we can implement callbacks easily enough, and with lots of
> > > threads flying around doing misc. tasks it won't be so bad.
> >
> > It don't think adding C++ stuff to the bluetooth stack will be on any
> > help. I think the first thing to do is clean it up so that it becomes
> > more robust and portable, and keep it in C for simplicity, efficiency,
> > and portability (the low level of complexity of the stack doesn't require
> > (on my humble opinion) to go to C++). We are far from a reliable
> > bluetooth stack today.
>
> I'm not real keen on C++ myself, but the API available from Ericsson does
> seem to be C++ oriented, so I thought that going with C++ would be easier.
> I would prefer to do it in C myself.
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com