[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] write() or bt_write_top() with rfcomm
> -----Original Message-----
> From: Markku Pirilš [mailto:firstname.lastname@example.org]
> Sent: 10 October 2001 10:17
> To: email@example.com
> Subject: [bluetooth-dev] write() or bt_write_top() with rfcomm
> Why do we have declaration like below in btd.c when sending something
> through rfcomm?
> What's the difference?
> #ifndef BTD_USERSTACK
> n = write(fd, tmp, i);
> n = bt_write_top(tmp, i, line);
> Best regards,
> Markku Pirila
The stack can be compiled to run in user mode (using the files
in apps/bluetooth/userstack). In that case the code within
BTD_USERSTACK is used. Note that this only works with the old,
deprecated, version of btd. Also note that the user mode stack
is rather limited in its functionality.
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org