noble/bleno
View on GitHubBLE not recognized on Atheros AR6233 (Digi Connect Core 6 SBC)
Open
#365 opened on Jan 31, 2018
help wanted
Description
it seems bleno does not recognize the BLE capability of this chipset. running echo example gives this error:
root@ccimx6sbc:/usr/lib/node_modules/bleno/examples/echo# BLENO_HCI_DEVICE_ID=0 node main.js
bleno - echo
bleno warning: adapter does not support Bluetooth Low Energy (BLE, Bluetooth Smart).
Try to run with environment variable:
[sudo] BLENO_HCI_DEVICE_ID=x node ...
on -> stateChange: unsupported
However, the chipset does support BLE. E.g. hcitool lescan works.
The output of hciconfig hci0 lestates is this:
Supported link layer states:
YES Non-connectable Advertising State
YES Scannable Advertising State
YES Connectable Advertising State
YES Directed Advertising State
YES Passive Scanning State
YES Active Scanning State
YES Initiating State/Connection State in Master Role
YES Connection State in the Slave Role
YES Non-connectable Advertising State and Passive Scanning State combination
YES Scannable Advertising State and Passive Scanning State combination
YES Connectable Advertising State and Passive Scanning State combination
YES Directed Advertising State and Passive Scanning State combination
NO Non-connectable Advertising State and Active Scanning State combination
NO Scannable Advertising State and Active Scanning State combination
NO Connectable Advertising State and Active Scanning State combination
NO Directed Advertising State and Active Scanning State combination
NO Non-connectable Advertising State and Initiating State combination
NO Scannable Advertising State and Initiating State combination
NO Non-connectable Advertising State and Master Role combination
NO Scannable Advertising State and Master Role combination
NO Non-connectable Advertising State and Slave Role combination
NO Scannable Advertising State and Slave Role combination
NO Passive Scanning State and Initiating State combination
NO Active Scanning State and Initiating State combination
NO Passive Scanning State and Master Role combination
NO Active Scanning State and Master Role combination
NO Passive Scanning State and Slave Role combination
NO Active Scanning State and Slave Role combination
NO Initiating State and Master Role combination/Master Role and Master Role combination