Closed rezmus closed 3 years ago
adds beacon/encryption key extraction for ble devices.
def get_beaconkey(self, country, did): url = self.get_api_url(country) + "/v2/device/blt_get_beaconkey" params = { "data": '{"did":"' + did + '","pdid":1}' } return self.execute_api_call(url, params)
if "blt" in device["did"]: beaconkey = connector.get_beaconkey(current_server, device["did"]) print(" KEY: " + beaconkey["result"]["beaconkey"])
Thank you! It has been added to the script
adds beacon/encryption key extraction for ble devices.