Skip to content

Connection to battery RBT12200LFP-BT fails. #108

Description

@nikirikitiki

Hi! I am trying to poll RBT12200LFP-BT. However, for some reason it fails after establishing the connection:

INFO:root:Init BatteryClient: RNGRBP1217000105 => 7231D56C-B0AD-E65A-BA1F-D1DAF716240D
INFO:root:Starting discovery...
INFO:root:Devices found: 8
INFO:root:Found matching device RNGRBP1217000105 => 7231D56C-B0AD-E65A-BA1F-D1DAF716240D
INFO:root:Client connection: True
INFO:root:found write characteristic 0000ffd1-0000-1000-8000-00805f9b34fb, service 0000ffd0-0000-1000-8000-00805f9b34fb
INFO:root:subscribed to notification 0000fff1-0000-1000-8000-00805f9b34fb
ERROR:root:Error connecting to device
ERROR:root:Connection failed: (<class 'bleak.exc.BleakError'>, BleakError('Failed to update the notification status for characteristic 59: Error Domain=CBATTErrorDomain Code=6 "The request is not supported." UserInfo={NSLocalizedDescription=The request is not supported.}'), <traceback object at 0x106ad5100>)
ERROR:root:on_error: (<class 'bleak.exc.BleakError'>, BleakError('Failed to update the notification status for characteristic 59: Error Domain=CBATTErrorDomain Code=6 "The request is not supported." UserInfo={NSLocalizedDescription=The request is not supported.}'), <traceback object at 0x106ad5100>)
INFO:root:writing to 0000ffd1-0000-1000-8000-00805f9b34fb [255, 3, 19, 136, 0, 17, 20, 182]
INFO:root:characteristic_write_value succeeded
INFO:root:Exit: Disconnecting device: RNGRBP1217000105 7231D56C-B0AD-E65A-BA1F-D1DAF716240D
`

There is no issue when connecting to DC-DC charger with BT-2 Bluetooth Module.

Do you have advice on which way to dig?
Could it be wrong UUID/handle for the device?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions