keigan-motor / kmconnector-js

Node.js and Browser JavaScript Library for Keigan Motor.
https://document.keigan-motor.com
MIT License
4 stars 2 forks source link

TinkerBoardのオンボードBLEだと接続しない #4

Closed alphazero55 closed 6 years ago

alphazero55 commented 6 years ago

TinkerBoard https://www.asus.com/jp/Single-Board-Computer/Tinker-Board/

のオンボードBLEでScanしてもDiscoverしないので

Class: KMMotorOneBLEstartScanToCreateInstance(time)内を以下に変更したら上手く DiscoverからConnectできました

-            noble.startScanning([KMComBLE.MOTOR_BLE_SERVICE_UUID],false);
+            noble.startScanning([KMComBLE.MOTOR_BLE_SERVICE_UUID],true);

ここの設定はBLEによると思うのですが外部から指定できるようにして欲しいです

keigan-motor commented 6 years ago

報告有り難うございます、修正いたしました