bluez5: Add RFCOMM socket address declaration

This patch adds a copy of Bluetooth RFCOMM socket declaration.
This commit is contained in:
Claudio Takahasi 2013-01-28 18:11:06 -03:00 committed by Denis Kenzior
parent 6985c798b2
commit 368b8816ee
1 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,13 @@ typedef struct {
#define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
/* RFCOMM socket address */
struct sockaddr_rc {
sa_family_t rc_family;
bdaddr_t rc_bdaddr;
uint8_t rc_channel;
};
/* SCO socket address */
struct sockaddr_sco {
sa_family_t sco_family;