I added the rfcomm directory in the file component/bt/component.mk and fixed the compile errors.
Have a look here: https://github.com/ursfassler/esp-idf, branch rfcomm
Search found 3 matches
- Sun May 21, 2017 8:31 am
- Forum: ESP-IDF
- Topic: RFCOMM example
- Replies: 8
- Views: 16172
- Thu May 11, 2017 8:05 pm
- Forum: ESP-IDF
- Topic: Bluetooth classic
- Replies: 14
- Views: 28262
Re: Bluetooth classic
Thank you for the example. I found 2 problems in it, unfortunately it does not prevent the cyclic rebooting. It does not reboot all the time when the callbacks are not registered. The problems are: the hci_cmd_buf is too small. If I got it correctly, it should be HCIC_PREAMBLE_SIZE+HCI_COMMAND_SIZE ...
- Tue May 09, 2017 8:42 pm
- Forum: ESP-IDF
- Topic: RFCOMM example
- Replies: 8
- Views: 16172
Re: RFCOMM example
I am also looking for an rfcomm example.
Meanwhile I try it on my own. I am able to call RFCOMM_CreateConnection on the esp. Unfortunately I can not connect from another device to the ESP32, not sure where the problem is.
Meanwhile I try it on my own. I am able to call RFCOMM_CreateConnection on the esp. Unfortunately I can not connect from another device to the ESP32, not sure where the problem is.