int get_l2cap_connection () {
First off, all the variables we need, explanation for will follow at the appropriate spot.
int ssock = 0;
int csock = 0;
int reuse_addr = 1;
struct sockaddr_l2 src_addr;
struct bt_security bt_sec;
int result = 0;
First, we need to cre...