1 /* 2 * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com 3 * 4 * All rights reserved. Distributed under the terms of the MIT License. 5 * 6 */ 7 8 #ifndef _BTL2CAP_H_ 9 #define _BTL2CAP_H_ 10 11 #include <bluetooth/bluetooth.h> 12 13 struct sockaddr_l2cap { 14 uint8 l2cap_len; /* total length */ 15 uint8 l2cap_family; /* address family */ 16 uint16 l2cap_psm; /* PSM (Protocol/Service Multiplexor) */ 17 bdaddr_t l2cap_bdaddr; /* address */ 18 }; 19 20 21 #endif