Jul-31-2021, 05:27 AM
(This post was last modified: Jul-31-2021, 08:28 AM by Larz60+.
Edit Reason: fixed code tags
)
The code was written last year by a former colleague, and as it only works on Mac, I have to convert it to Windows.
The Python code will serve as a Bluetooth scanner searching for a device and retrieving data from the device.
I noticed one of the imported libraries is "objc".
What is the Windows equivalent of ObjC?
Sorry, the rest of the code is intellectual property, so I cannot share the remaining.
The Python code will serve as a Bluetooth scanner searching for a device and retrieving data from the device.
I noticed one of the imported libraries is "objc".
What is the Windows equivalent of ObjC?
1 2 3 4 5 6 7 8 9 10 11 |
#!/usr/bin/env python # -*- coding: UTF-8 -*- import threading import time import os #for Decrypt [color = #9B59B6]import objc[/color] from struct import * import codecs import numpy as np import binascii # my define function |