Languages

Menu
Sites
Language
socket_connection_state_changed_cb failed. -29359859

Hello. I have to connect a smartwatch (i'm using a gear s2) to a phone (i'm using a huawei p9 lite) with bluetooth. For the smartwatch i follow the guide on this site (https://developer.tizen.org/development/guides/native-application/connectivity-and-wireless/bluetooth) using the SPP profile, but i have the error in the title (socket_connection_state_changed_cb failed. result= -29359859) after calling (with success) bt_socket_connect_rfcomm. Can anyone tell me where's the error? May be that i'm supposed to do something on the other side (the phone)?