Hello there. I modified the example code of https://github.com/byly/uubt/ and try to run it on my STM32F2 board connected with an USB Bluetooth dongle. Currently I can find the device using hcitool scan and obtain information using hcitool info But the was no response using l2ping XX:XX:XX:XX:XX:XX
My problem is that I want to connect to the device using RFCOMM and print the string sent from the device. But the is no data received. I tried both using minicom -D /dev/rfcomm0 or simply cat /dev/rfcomm0
The info log of btstack shows the connection is completed, but it seems that there is no RFCOMM_EVENT_INCOMING_CONNECTION or RFCOMM_EVENT_OPEN_CHANNEL_COMPLETE event, thus I can't obtain a valid rfcomm_channel_id. Therefore rfcomm_send_internal() is never called. Are there any possible reasons to cause this situation? Thanks!
Comment #1
Posted on Nov 25, 2014 by Happy DogPlease make this as resolved. Thanks. It is because there are some problems sending ACL data over USB. Fix it will resolve this issue.
Comment #2
Posted on Nov 25, 2014 by Swift OxHi. Thanks for reporting back. If you run into something similiar, please use the newly added "packet log to console" (see mailing list) and post on the mailing list.
Status: WontFix
Labels:
Type-Other
Priority-Medium