Replies: 6 comments 3 replies
-
Can you please give the exact steps to reproduce the problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi
I run the program from the Windows CMD line with 'python --name Gloving'
and that is when I get the error message, so nothing unusual. Are there
any other logs I can look at?
…On Fri, 3 Mar 2023 at 14:54, David Lechner ***@***.***> wrote:
Can you please give the exact steps to reproduce the problem?
—
Reply to this email directly, view it on GitHub
<#1245 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY2WDJD2KT56476EHSEC35TW2IA35ANCNFSM6AAAAAAVOMKAPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards
Stephen Gray
Check out the links below for Skynet ambient music
YouTube
<https://www.youtube.com/channel/UC4cOaAR33QRWzmYxr44Uu-Q?view_as=subscriber>
https://SoundCloud.com\Stephen-Gray-260393121
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, I'll check it out.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi
Checked it out and the error output is attached. Not sure but it looks
like I'm getting there but also not sure if the errors are normal or not.
Also, how do you reconnect when the BLE goes to sleep?
SPG
…On Sat, 4 Mar 2023 at 20:57, David Lechner ***@***.***> wrote:
https://bleak.readthedocs.io/en/latest/troubleshooting.html
—
Reply to this email directly, view it on GitHub
<#1245 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY2WDJBYUU7ZNOG2RPWOEOTW2OUFHANCNFSM6AAAAAAVOMKAPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards
Stephen Gray
Check out the links below for Skynet ambient music
YouTube
<https://www.youtube.com/channel/UC4cOaAR33QRWzmYxr44Uu-Q?view_as=subscriber>
https://SoundCloud.com\Stephen-Gray-260393121
\Users\steph\Dropbox\Personal\Programming\Python>python BLE_Test3.py --address 4c:eb:d6:4e:81:8a >test.txt
2023-03-06 14:06:58,832 __main__ INFO: starting scan...
2023-03-06 14:06:59,303 bleak.backends.winrt.scanner DEBUG: Received 08:EF:3B:56:11:11: .
2023-03-06 14:06:59,304 bleak.backends.winrt.scanner DEBUG: skipping callback, waiting for scan response
2023-03-06 14:06:59,410 bleak.backends.winrt.scanner DEBUG: Received 08:EF:3B:56:11:11: .
2023-03-06 14:06:59,411 bleak.backends.winrt.scanner DEBUG: skipping callback, waiting for scan response
2023-03-06 14:06:59,651 bleak.backends.winrt.scanner DEBUG: Received 4C:EB:D6:4E:81:8A: .
2023-03-06 14:06:59,651 bleak.backends.winrt.scanner DEBUG: skipping callback, waiting for scan response
2023-03-06 14:06:59,654 bleak.backends.winrt.scanner DEBUG: Received 4C:EB:D6:4E:81:8A: GlovingIMUService.
2023-03-06 14:06:59,655 bleak.backends.winrt.scanner DEBUG: 1 devices found. Watcher status: 3.
2023-03-06 14:06:59,655 __main__ INFO: connecting to device...
2023-03-06 14:06:59,660 bleak.backends.winrt.client DEBUG: Connecting to BLE device @ 4C:EB:D6:4E:81:8A
2023-03-06 14:06:59,687 bleak.backends.winrt.client DEBUG: getting services (service_cache_mode=None, cache_mode=None)...
2023-03-06 14:07:02,586 bleak.backends.winrt.client DEBUG: session_status_changed_event_handler: id: <_bleak_winrt_Windows_Devices_Bluetooth.BluetoothDeviceId object at 0x000001895A8DB830>, error: 0, status: 1
2023-03-06 14:07:02,587 __main__ INFO: connected
2023-03-06 14:07:02,587 __main__ INFO: [Service] 00001800-0000-1000-8000-00805f9b34fb (Handle: 1): Generic Access Profile
2023-03-06 14:07:03,156 bleak.backends.winrt.client DEBUG: session_status_changed_event_handler: id: <_bleak_winrt_Windows_Devices_Bluetooth.BluetoothDeviceId object at 0x000001895A8DB470>, error: 0, status: 0
2023-03-06 14:07:03,157 bleak.backends.winrt.client DEBUG: closing requester
2023-03-06 14:07:03,157 bleak.backends.winrt.client DEBUG: closing session
2023-03-06 14:07:03,158 __main__ ERROR: [Characteristic] 00002a00-0000-1000-8000-00805f9b34fb (Handle: 2): Device Name (read), Error: Could not read characteristic handle 2: Unreachable
2023-03-06 14:07:03,159 __main__ ERROR: [Characteristic] 00002a01-0000-1000-8000-00805f9b34fb (Handle: 4): Appearance (read), Error: Not connected
2023-03-06 14:07:03,159 __main__ INFO: [Service] 00001801-0000-1000-8000-00805f9b34fb (Handle: 6): Generic Attribute Profile
2023-03-06 14:07:03,159 __main__ INFO: [Characteristic] 00002a05-0000-1000-8000-00805f9b34fb (Handle: 7): Service Changed (indicate)
2023-03-06 14:07:03,159 __main__ ERROR: [Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 9): Client Characteristic Configuration, Error: Not connected
2023-03-06 14:07:03,160 __main__ INFO: [Service] 03b80e5a-ede8-4b33-a751-6ce34ec4c700 (Handle: 10): Unknown
2023-03-06 14:07:03,160 __main__ ERROR: [Characteristic] 7772e5db-3868-4112-a1a9-f2669d106bf3 (Handle: 11): Unknown (read,write-without-response,write,notify), Error: Not connected
2023-03-06 14:07:03,160 __main__ ERROR: [Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 13): Client Characteristic Configuration, Error: Not connected
2023-03-06 14:07:03,160 __main__ INFO: disconnecting...
2023-03-06 14:07:03,161 bleak.backends.winrt.client DEBUG: Disconnecting from BLE device...
2023-03-06 14:07:03,163 __main__ INFO: disconnected
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Ah, here you go. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok, thanks.
…On Mon, 6 Mar 2023 at 16:22, David Lechner ***@***.***> wrote:
The device is disconnecting right away. You would need to log Bluetooth
packets to see what triggers the disconnection.
—
Reply to this email directly, view it on GitHub
<#1245 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY2WDJENA2C2CIYQISALNGDW2YFNRANCNFSM6AAAAAAVOMKAPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards
Stephen Gray
Check out the links below for Skynet ambient music
YouTube
<https://www.youtube.com/channel/UC4cOaAR33QRWzmYxr44Uu-Q?view_as=subscriber>
https://SoundCloud.com\Stephen-Gray-260393121
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am trying to run the Service_explorer example program on a PC to get the services of a BLE device. I get the following error
There is a device called Gloving as I can connect to it using a Ble scanner on my phone and the PC. Any idea what it might be? I'm just trying to find out the services given by the BLE device as for some reason the Service UUIDs are different to the ones I programmed.
Bipman
Beta Was this translation helpful? Give feedback.
All reactions