BLEGATT API : How to Interrupt the "client/connect" Process

Hi everyone,

I’ve observed that when I send a “client/connect” request to an LG device that isn’t advertising, the connection attempt stays in a “connecting” state for a while (about 30 seconds). I want to be able to stop or interrupt this process if I decide not to wait for the connection. Does anyone know how I can interrupt or cancel this connection attempt?

Any guidance or suggestions would be greatly appreciated!

Thanks in advance!

Sorry for the late reply. Can you share the webOS TV platform version your are using (24 or 25)? Thank you.

Hi @narae0.kim,
I’m testing on a TV with webOS24 (it was webOS23 and I upgraded to webOS24 using update on settings):

  • model: 55UR80006LJ
  • sdkVersion : 9.2.1
  • firmwareVersion : 23.21.30

Sorry for the late reply again. In the spec, disconnection is possible during a connection, but our service is implemented so that disconnection cannot occur during a connection to prevent connection status malfunction. You must wait until timeout after attempting to connect or call disconnect after connecting. This is also the same behavior for A2DP speaker connection in webOS. Thank you.