This commits splits the address handling into bluetooth protocol and does the rest in l2cap. This is to allow for a different struct for sco and l2cap. Change-Id: I4c577691118613cd3be75eb7ef191fd2f07d742d Reviewed-on: https://review.haiku-os.org/c/haiku/+/11181 Reviewed-by: waddlesplash <[email protected]>
19 lines
425 B
C
19 lines
425 B
C
/*
|
|
* Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
|
|
* All rights reserved. Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
#ifndef _BTSCO_H_
|
|
#define _BTSCO_H_
|
|
|
|
#include <bluetooth/bluetooth.h>
|
|
|
|
struct sockaddr_sco {
|
|
uint8 sco_len; /* total length */
|
|
uint8 sco_family; /* address family */
|
|
bdaddr_t sco_bdaddr; /* address */
|
|
};
|
|
|
|
|
|
#endif // _BTSCO_H_
|