-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi,
I'm testing some basic Bluetooth functionality using the WILC3000 on our custom board.
I'm using the HCI command line tools to test basic connectivity between the WILC3000 and other Bluetooth devices and I'm having a few issues.
I setup the BT interface and all looks good.
fm5000:/ # hciconfig hci0
hci0: Type: Primary Bus: UART
BD Address: F8:F0:05:DC:9D:5F ACL MTU: 27:30 SCO MTU: 0:0
UP RUNNING
RX bytes:382 acl:0 sco:0 events:24 errors:0
TX bytes:128 acl:0 sco:0 commands:24 errors:0
If I do hcitool lescan then I get a list of devices as expected.
However it does not see all devices. If I use my own phone then the WILC3000 does not see the phone and the phone does not see the WILC3000 device.
For a device it does see if I try to get the name then I get nothing
|fm5000:/ # hcitool name CD:CD:D2:E7:31:60
fm5000:/ #
if I try and get some information from the same remote device (one that appears in the scan) I get this
fm5000:/ # hcitool info CD:CD:D2:E7:31:60
Requesting information ...
Can't create connection: I/O error
Also if I do a hciconfig hci0 -a then I get the following even though I have set the name using hciconfig command.
fm5000:/ # hciconfig hci0 name bruno_test
fm5000:/ #
fm5000:/ #
fm5000:/ # hciconfig hci0 -a
hci0: Type: Primary Bus: UART
BD Address: F8:F0:05:DC:9D:5F ACL MTU: 27:30 SCO MTU: 0:0
UP RUNNING
RX bytes:61238 acl:0 sco:0 events:1394 errors:0
TX bytes:452 acl:0 sco:0 commands:32 errors:0
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
Can't read local name on hci0: I/O error (5)
I'm trying to do some basics connectivity checks with other devices but it does not appear to be behaving as expected.
- It does not see all devices as expected.
- Basic operations on device it does see do not seem to work.
Perhaps it is something I am doing,
Your help would be appreciated.
Thanks,
Bruno