Title: Can't connect with SensorTile.box · Issue #36 · STMicroelectronics/BlueSTSDK_Python · GitHub
Open Graph Title: Can't connect with SensorTile.box · Issue #36 · STMicroelectronics/BlueSTSDK_Python
X Title: Can't connect with SensorTile.box · Issue #36 · STMicroelectronics/BlueSTSDK_Python
Description: Hi, I want connect my SensorTile box with my Raspberry pi. For this, I use example_ble_1.py, but every time when i try to connect the devices then one of the given errors occur: guest@raspberrypi:~ $ sudo python3 example_ble_1.py #######...
Open Graph Description: Hi, I want connect my SensorTile box with my Raspberry pi. For this, I use example_ble_1.py, but every time when i try to connect the devices then one of the given errors occur: guest@raspberrypi:~...
X Description: Hi, I want connect my SensorTile box with my Raspberry pi. For this, I use example_ble_1.py, but every time when i try to connect the devices then one of the given errors occur: guest@raspberrypi:~...
Opengraph URL: https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/36
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't connect with SensorTile.box","articleBody":"Hi,\r\n\r\nI want connect my SensorTile box with my Raspberry pi. For this, I use example_ble_1.py, but every time when i try to connect the devices then one of the given errors occur: \r\n\r\nguest@raspberrypi:~ $ sudo python3 example_ble_1.py\r\n\r\n##################\r\n# BlueST Example #\r\n##################\r\n\r\nScanning Bluetooth devices...\r\n\r\nDiscovery started.\r\nNew device discovered: TB2 .\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.9/dist-packages/blue_st_sdk/manager.py\", line 313, in discover\r\n self._scanner.scan(timeout_s)\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 854, in scan\r\n self.stop()\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 803, in stop\r\n self._mgmtCmd(self._cmd()+\"end\")\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 309, in _mgmtCmd\r\n rsp = self._waitResp('mgmt')\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 362, in _waitResp\r\n raise BTLEDisconnectError(\"Device disconnected\", resp)\r\nbluepy.btle.BTLEDisconnectError: Device disconnected\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/home/guest/example_ble_1.py\", line 312, in \u003cmodule>\r\n main(sys.argv[1:])\r\n File \"/home/guest/example_ble_1.py\", line 189, in main\r\n manager.discover(SCANNING_TIME_s)\r\n File \"/usr/local/lib/python3.9/dist-packages/blue_st_sdk/manager.py\", line 325, in discover\r\n raise BlueSTInvalidOperationException(msg)\r\nblue_st_sdk.utils.blue_st_exceptions.BlueSTInvalidOperationException: \r\nBluetooth scanning requires root privilege, so please run the script with \"sudo\".\r\n\r\n\r\nguest@raspberrypi:~ $ sudo python3 example_ble_1.py\r\n\r\n##################\r\n# BlueST Example #\r\n##################\r\n\r\nScanning Bluetooth devices...\r\n\r\nDiscovery started.\r\nNew device discovered: TB2 .\r\nDiscovery stopped.\r\n\r\nAvailable Bluetooth devices:\r\n1) TB2 : [c0:50:06:32:19:33]\r\n\r\nSelect a device to connect to ('0' to quit): 1\r\nConnecting to TB2 ...\r\nDevice TB2 disconnected unexpectedly.\r\n\r\nExiting...\r\n\r\n","author":{"url":"https://github.com/MilanVercam","@type":"Person","name":"MilanVercam"},"datePublished":"2024-02-27T15:49:20Z","url":"https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/36"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c6895f67-a123-e855-225e-12ef236dc6d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A32:FD77C:2366C86:2E1A8C6:6B054147 |
| html-safe-nonce | 7c9287ee1f670f6edcc46b4cf135e2098f5817f1ff796d30c4f8b2c21183c362 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTMyOkZENzdDOjIzNjZDODY6MkUxQThDNjo2QjA1NDE0NyIsInZpc2l0b3JfaWQiOiIzOTI0NjA4MDgwMjY4MzEyOTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ed503b6d95f16ffbfdc76c0189095b1d0486dcb81a84e063489ac8bb9ad019e1 |
| hovercard-subject-tag | issue:2156952077 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STMicroelectronics/BlueSTSDK_Python/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c60556b75f85dbeb42b74435dbf6ac99c2e92181d2a0287fd7986463e7b86d51/STMicroelectronics/BlueSTSDK_Python/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c60556b75f85dbeb42b74435dbf6ac99c2e92181d2a0287fd7986463e7b86d51/STMicroelectronics/BlueSTSDK_Python/issues/36 |
| og:image:alt | Hi, I want connect my SensorTile box with my Raspberry pi. For this, I use example_ble_1.py, but every time when i try to connect the devices then one of the given errors occur: guest@raspberrypi:~... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MilanVercam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/STMicroelectronics/BlueSTSDK_Python git https://github.com/STMicroelectronics/BlueSTSDK_Python.git |
| octolytics-dimension-user_id | 10744877 |
| octolytics-dimension-user_login | STMicroelectronics |
| octolytics-dimension-repository_id | 125541395 |
| octolytics-dimension-repository_nwo | STMicroelectronics/BlueSTSDK_Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125541395 |
| octolytics-dimension-repository_network_root_nwo | STMicroelectronics/BlueSTSDK_Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width