Set it to zero in the def.
On Jun 16, 2012 9:18 AM, "James Black" <planiturthian@gmail.com> wrote:
How do you set btDevice?
On Jun 15, 2012 7:04 PM, "mike digioia" <mpd395@gmail.com> wrote:Bluetooth error on socket call-
Anyone know what the issues are with my Samsung Nexus S device when I get this error in my native code call to the socket LIB -- code starts here:
btface = -1;
btDevice = NULL;
btsock = socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM);
if ( btsock < 0 ) {
btDevice=NULL;
#ifdef DEBUG
ccnd_msg(h, "ccnd_run: btDevice is NULL\n");
No comments:
Post a Comment