Menu
Sites
Language
Tizen Bonding Problem

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?

 

Edited on 05 01, 2018

Responses

6 Replies
 Safwan

So, There are three devices, right?

i) An android phone

ii) A Gear S3

iii) A test device

Please share some Info about the 'test device'.

 Safwan

Please share your Tizen Native Code Snippet for BLE communication. Then, it might be possible to test your code on my environment and share the feedback.

 Safwan

Thanks, I'll get back to you once I've got some progress.

 Safwan

Confirming....

Kim, I am able to create bond using your code only when my Gear S2 is connected to phone, But when the Gear S2 is in standalone mode it's just "Unable to connect" message. Though it can scan nearby devices, but bond creation isn't successful. My environment:

 

i) Samsung Gear S2

ii) iPhone SE

ii) another Samsung Gear S2 ( in place of your 'test device' )

 

I tested with iPhone instead of android, anyways the result seems same as yours .

 

 

Now, One of two things can happen,

 

i) Either This is the way it meant to be. A wearable device should create bond with another bluetooth peripheral only when it's connected with a phone (android/iOS).  Creating bond with another bluetooth peripheral is not designed for standalone mode.

ii) Or this is a BUG.

 

I would suggest you to report a bug on Tizen bug Tracker explaining the scenario. Here's a guideline on how to report bugs.

Yasin Ali

Have you found anything yet that may solve your problem ?

 

dev madrad

I suggest you to update Gear S3 device to Tizen 3.0.