Tizen Bonding Problem

Tizen Bonding Problem

BY 20 Oct 2017 Native Application Development

I’m developing sample native application(not companion) for Gear3 which is communicating my test device through BLE.

 

Gear3(Tizen watch) is working as central, my test device is working as peripheral and Gear is connected to the android device through bluetooth also.

Usually, bonding with the test device is  successful while gear is connected to the android device but if I disconnected the android device and put gear in standalone mode (for example, turn off the android device).

After that,  I got failed  when I tried to bonding with my test device with a ‘unable to connect’ popup message .

If I tested it again after turnning on the android device, bonding process is successful again.

 

Sum up the situation,

  1. Gear3 is conneted to the android device(phone).

  2. Creating bond [bt_device_create_bond()] with my test device using my sample application. The result is success. 

  3. Deleting bond then turn off the android device and make sure that gear3 is working in standalone.

  4. Creating bond with my test device. “unable to connect” popup shows and the result is failed.

       bt_device_bond_created_cb() is called with BT_ERROR_OPERATION_FAILED​.

   5. Turn on the android device and make sure that watch is connected to the android device.

   6. Creating bond is succesful again.

 

The device information is below.

Gear S3 Frontier

Model Number : SM-R760

Tizen version : 2.3.2.4

Software version : R760XXU2BQH1 

 SDK : Tizen Wearable 2.3.2

 

Could you help me fix this problem?

 

Written by