Skip to content

Instantly share code, notes, and snippets.

View kelvinabrokwa's full-sized avatar

Kelvin Abrokwa-Johnson kelvinabrokwa

View GitHub Profile
stages:
- duration: 1.9788742065429688e-05
end: 1553803633.735767
name: build android
start: 1553803633.735747
sub_stages:
- duration: 3.814697265625e-06
end: 1553803633.735756
name: build
start: 1553803633.735752
@kelvinabrokwa
kelvinabrokwa / l2cap-server.c
Created January 28, 2017 23:07
Bluetooth Server
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
sdp_session_t *register_service();