not found in NDK, method l2cap_listen

I will use l2cap protocol on rooted device. I was download source code from and have same error.

jni/hidserv.h:43:33: fatal error: bluetooth/bluetooth.h: No such file or directory #include <bluetooth/bluetooth.h>

Android NDK not contains this file #include

method name which used is :

l2cap_listen (const bdaddr_t *bdaddr, unsigned short psm, int lm, int backlog);

I was found some bluetooth.h files, but some of them not contains l2cap_listen method. I found this string

LOCAL_LDLIBS := -L$(SYSTEMROOT)/usr/lib -lbluetooth

If will I work at linux (ubuntu) this is will work? Help me.

Category:android Views:3 Time:2018-05-31

Related post

Copyright (C), All Rights Reserved.

processed in 0.083 (s). 11 q(s)