Skip to content

Commit

Permalink
Fix undecoded servicedata
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Jan 1, 2024
1 parent 4c44587 commit f64a0f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TheengsGateway/ble_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def detection_callback(
data_json_copy = data_json.copy()
data_json_copy["servicedatauuid"] = uuid[4:8]
data_json_copy["servicedata"] = data.hex()
data_json = data_json_copy.copy()
elif data_json:
data_json["id"] = address
data_json["rssi"] = advertisement_data.rssi
Expand Down

0 comments on commit f64a0f1

Please sign in to comment.