Search found 24 matches

by Rocker
Fri May 26, 2017 8:05 pm
Forum: Sample Code
Topic: Simple BT to UART bridge
Replies: 7
Views: 14777

Re: Simple BT to UART bridge

Any clue when RFCOMM will be functional? We are trying to put the ESP32 into a product, but absolutely need RFCOMM functionality.
by Rocker
Fri May 26, 2017 3:32 pm
Forum: ESP-IDF
Topic: RFCOMM example
Replies: 8
Views: 14596

Re: RFCOMM example

I also added the directories and fixed the compile errors/warnings. I turned debug logging up. Here's the relevant code for what I'm doing: static void esp_inquiry_complete_cb (void *p1) { tBTM_STATUS funcRet; uint32_t trustedMask[2] = {BTM_SEC_TRUST_ALL, BTM_SEC_TRUST_ALL}; switch (state) { case (0...
by Rocker
Thu May 18, 2017 9:41 pm
Forum: ESP-IDF
Topic: RFCOMM example
Replies: 8
Views: 14596

Re: RFCOMM example

I'm on v2.1 of the esp-idf. I think I can detect and pair (bond) with the device - I'll put code up if it would be helpful. I tried calling RFCOMM_CreateConnection, but I get a link error. I looked at the component.mk file under components/bt/. It doesn't list the rfcomm files. How'd you get this to...
by Rocker
Fri Apr 21, 2017 10:34 pm
Forum: ESP-IDF
Topic: RFCOMM example
Replies: 8
Views: 14596

RFCOMM example

I need to connect to a device using RFCOMM - so search for it, connect/pair, start RFCOMM session. I see the rfcomm folder under components/bt/bluedroid, but an example would be wonderful. Has anyone been able to get this to work or even pieces of it to work? Have a code example?

Thanks, Rob