bluetooth.3 (198492) | bluetooth.3 (210823) |
---|---|
1.\" Copyright (c) 2003-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $Id: bluetooth.3,v 1.5 2003/05/20 23:04:30 max Exp $ | 1.\" Copyright (c) 2003-2009 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $Id: bluetooth.3,v 1.5 2003/05/20 23:04:30 max Exp $ |
26.\" $FreeBSD: head/lib/libbluetooth/bluetooth.3 198492 2009-10-26 17:27:30Z emax $ | 26.\" $FreeBSD: head/lib/libbluetooth/bluetooth.3 210823 2010-08-03 17:40:09Z joel $ |
27.\" 28.Dd April 9, 2009 29.Dt BLUETOOTH 3 30.Os 31.Sh NAME 32.Nm bt_gethostbyname , 33.Nm bt_gethostbyaddr , 34.Nm bt_gethostent , --- 343 unchanged lines hidden (view full) --- 378command with the given 379.Fa opcode 380to the provided socket 381.Fa s , 382previously obtained with 383.Xr bt_devopen 3 . 384The 385.Fa opcode | 27.\" 28.Dd April 9, 2009 29.Dt BLUETOOTH 3 30.Os 31.Sh NAME 32.Nm bt_gethostbyname , 33.Nm bt_gethostbyaddr , 34.Nm bt_gethostent , --- 343 unchanged lines hidden (view full) --- 378command with the given 379.Fa opcode 380to the provided socket 381.Fa s , 382previously obtained with 383.Xr bt_devopen 3 . 384The 385.Fa opcode |
386parameter is exppected to be in the host byte order. | 386parameter is expected to be in the host byte order. |
387The 388.Fa param 389and 390.Fa plen 391parameters specify command parameters. 392The 393.Fn bt_devsend 394function does not modify the --- 22 unchanged lines hidden (view full) --- 417.Fa to 418parameter. 419The 420.Fn bt_devrecv 421function does not modify the 422.Dv HCI 423filter on the provided socket 424.Fa s . | 387The 388.Fa param 389and 390.Fa plen 391parameters specify command parameters. 392The 393.Fn bt_devsend 394function does not modify the --- 22 unchanged lines hidden (view full) --- 417.Fa to 418parameter. 419The 420.Fn bt_devrecv 421function does not modify the 422.Dv HCI 423filter on the provided socket 424.Fa s . |
425The function returns total number of bytes recevied, | 425The function returns total number of bytes received, |
426or -1 if an error occurred. 427.Pp 428The 429.Fn bt_devreq 430function makes a Bluetooth 431.Dv HCI 432request to the socket 433.Fa s , --- 293 unchanged lines hidden --- | 426or -1 if an error occurred. 427.Pp 428The 429.Fn bt_devreq 430function makes a Bluetooth 431.Dv HCI 432request to the socket 433.Fa s , --- 293 unchanged lines hidden --- |