scottmckenzie / holman-linux-python

Holman SDK for Python on Linux
MIT License
12 stars 3 forks source link

Trouble connecting to BX1 #6

Open dev-git opened 2 years ago

dev-git commented 2 years ago

Hi,

I'm trying to connect to the BX1 (HOLMAN_CO3111) with holmanctl (on a raspberry pi) but can't seem to get it to work. It looks like I can connect but then the connection instantly drops and I can't retrieve any of the settings or switch the timer on/off. Have followed your instructions for adding the BTX1 and they appear to have the same service UUID (c521f000-0d70-4d4f-8e43-40d84c50ab38). Have run nRF on my android phone and here's the content. Any help much appreciated. Thanks.

nRF Connect, 2022-08-18 BX1 (AA:BB:CC:DD:EE:FF) V 19:42:15.157 Connecting to AA:BB:CC:DD:EE:FF... D 19:42:15.157 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) D 19:42:16.080 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 19:42:16.080 Connected to AA:BB:CC:DD:EE:FF V 19:42:16.099 Discovering services... D 19:42:16.099 gatt.discoverServices() D 19:42:16.118 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED I 19:42:16.368 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms) D 19:42:16.703 [Callback] Services discovered with status: 0 I 19:42:16.704 Services discovered V 19:42:16.718 Generic Access (0x1800)