teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

書式の改善

2019/12/03 06:32

投稿

_eito_
_eito_

スコア15

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
+ https://docs.keigan-motor.com/software_dev/python/pythonlib
3
- KeiganMotorMACアドレスを検出するために該当のソースコードにしてあるコードを実行てみたのですが下のようなエラーメッセージが発生しました。
4
+ 上記URLからソースコード(Github)とび、KM1Scan.pyのスクリプトを実行してKeiganMotorのモターのMACアレス検出したいと考えているのですがのようなエラーが発生しました。
4
5
  ### 該当のソースコード
5
6
 
6
7
  ```python
@@ -43,12 +44,15 @@
43
44
  raise BTLEManagementError("Management not available (permissions problem?)", resp)
44
45
  bluepy.btle.BTLEManagementError: Management not available (permissions problem?)
45
46
  ```
47
+ ###KeiganMotorについて
48
+ KeiganMotorはBLEで制御できるモーターです。KeiganMotorについては以下のサイトを参考にしました。
49
+ https://keigan-motor.com/
50
+ ### 作業環境
51
+ WSLのUbuntu 18.04
52
+ Python 3.6.8
53
+ ###接続状況
54
+ Bluetoothによる接続
46
55
 
47
-
48
56
  ### 試したこと
49
- ネット調べてみて権限がないというようなニュアンスの記事はみましたが、それに対る解決策を見つけることができず今回質問させていただきました。
57
+ pip install bluepy入力後、python3 KM1Scan.py実行したのですが上記のエラーが出たので、
50
- どなたか教えていただけると助かります。
51
-
52
- ### 補足情報
53
- 以下のサイトを参考にしました
54
- https://github.com/keigan-motor/pykeigan_motor/tree/master/examples
58
+ sudo pip install bluepy入力後、sudo python3 KM1Scan.pyを試したのですが結果は変わりませんでした。どのようにすればエラーを改善できるかご教授頂けると幸いです。

1

タイトルの修正

2019/12/03 06:32

投稿

_eito_
_eito_

スコア15

title CHANGED
@@ -1,1 +1,1 @@
1
- PythonMACアドレスを検出
1
+ bluepy.btle.BTLEManagementError: Management not available (permissions problem?)のエラー困っていま
body CHANGED
File without changes