You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Configuring the ble connector, how do you set the addrType as random in the ble.json? Is there a .py file that needs to be modified?
I can't connect to my devices through bluepy unless specified as random address type.
Connector name (If you need help with some connector/converter):
BLE Connector
Versions (please complete the following information):
OS: [e.g. Ubuntu 18.04]
Thingsboard IoT Gateway version [e.g. 2.2.4]
Python version[e.g. 3.7]
The text was updated successfully, but these errors were encountered:
I think I'll just need to manually insert it as a parameter like peripheral = Peripheral(MAC, "random") in the __get_services_and_chars(self): function in ble_connector.py
Thank you for your investigations. You are right, there was no addrType parameter. But I added it in commit bcb9b87 .
You can put parameter "addrType" into device configuration, near the MACAddress and the gateway will use it instead of public address type.
Describe the issue
Configuring the ble connector, how do you set the addrType as random in the ble.json? Is there a .py file that needs to be modified?
I can't connect to my devices through bluepy unless specified as random address type.
Connector name (If you need help with some connector/converter):
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: