Confirmed users
192
edits
Shawn huang (talk | contribs) |
Shawn huang (talk | contribs) |
||
Line 28: | Line 28: | ||
For adapter/remote device properties type, check btif/src/btif_storage.c, function cfg2prop. | For adapter/remote device properties type, check btif/src/btif_storage.c, function cfg2prop. | ||
Bluetooth Socket interface. | |||
bluedroid only provides two API, connect and listen. To receive connected or disconnected, you have to read connection signal. | |||
connection signal format as: | |||
typedef struct { | |||
short size; | |||
bt_bdaddr_t bd_addr; | |||
int channel; | |||
int status; | |||
} __attribute__((packed)) sock_connect_signal_t; | |||
==Debugging:== | ==Debugging:== |