Languages

Menu
Sites
Language
tizen to tizen bluetooth connection with gears

Hello.

I try connect gear to gear using bluetooth.

But connection is failed.

 

First, both side get

'vent-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED'

log when client call connect with right options.

If not call connect, this log not appear.

 

Below is full log after above log.

 

Server side

...

35982:06-27 15:10:16.231+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-receiver.c: __bt_adapter_property_changed_event(855) > property : [UUIDs]
35983:06-27 15:10:17.141+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-adapter.c: __bt_get_bonded_device_info(674) > trust: 0, paired: 0
35984:06-27 15:10:17.141+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-receiver.c: _bt_handle_device_event(1690) > Address : 00:02:75:1C:F7:XX Type : 0
35985:06-27 15:10:17.141+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-receiver.c: _bt_handle_device_event(1692) >  ### Connected [BREDR] []
35986:06-27 15:10:17.141+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-common.c: _bt_logging_connection(1200) > [PM] Number of LE conn: 0 disc: 0, Number of BR/EDR conn: 16 disc: 15
35987:06-27 15:10:17.141+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(44) > event_type [4], event [84]
35988:06-27 15:10:17.141+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(391) > Path : /org/projectx/bt/device
35989:06-27 15:10:17.141+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(392) >  Signal : DeviceConnected
35990:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 6770): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35991:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35992:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35993:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35994:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35995:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35996:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 2941): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35997:06-27 15:10:17.161+0900 D/BLUETOOTH_FRWK_API( 2921): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35998:06-27 15:10:17.171+0900 D/BLUETOOTH_FRWK_API( 2577): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
35999:06-27 15:10:17.171+0900 D/BLUETOOTH_FRWK_API( 2329): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
36000:06-27 15:10:17.171+0900 I/CAPI_NETWORK_BLUETOOTH( 2329): bluetooth-common.c: __bt_event_proxy(1152) > bt_device_connection_state_changed_cb() will be called
36001:06-27 15:10:17.171+0900 D/BLUETOOTH_FRWK_API( 2470): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
36006:06-27 15:10:17.171+0900 W/WECONN  ( 2384): <wc_manager_on_notify_bearer_state:922> type=WC_BEARER_TYPE_BLUETOOTH, new_state=WC_BEARER_STATE_CONNECTED, previous_state=WC_BEARER_STATE_ENABLED
36009:06-27 15:10:17.171+0900 W/WECONN  ( 2384):  ### Bearer Connected [WC_BEARER_TYPE_BLUETOOTH]
36010:06-27 15:10:17.171+0900 W/WECONN  ( 2384): <wc_device_on_notify_bearer_connected:2435> device=0xf7961340, bearer=WC_BEARER_TYPE_BLUETOOTH, master os=Android, rfcomm enabled?=1, spp connected?=0, hfp connected?=0
36014:06-27 15:10:17.171+0900 W/WECONN  ( 2384): <wc_manager_get_device_with_identifier:846> couldn't find device with given identifier. bearer=bluetooth
36018:06-27 15:10:17.171+0900 D/BLUETOOTH_FRWK_API( 2384): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
36019:06-27 15:10:17.171+0900 I/CAPI_NETWORK_BLUETOOTH( 2384): bluetooth-common.c: __bt_event_proxy(1152) > bt_device_connection_state_changed_cb() will be called
36020:06-27 15:10:17.181+0900 D/BLUETOOTH_FRWK_API( 2332): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
36021:06-27 15:10:17.181+0900 D/BLUETOOTH_FRWK_API( 3033): bt-event-handler.c: __bt_device_event_filter(783) > BT_DEVICE_CONNECTED
36022:06-27 15:10:21.721+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-receiver.c: _bt_handle_device_event(1722) > Address : 00:02:75:1C:F7:XX Type : 0
36023:06-27 15:10:21.721+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-receiver.c: _bt_handle_device_event(1725) >  ### Disconnected [BREDR] [19 : Remote user terminated connection] [Gear S2 (072A)]
36024:06-27 15:10:21.721+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-headset-connection.c: _bt_headset_set_local_connection(64) > setting connection_local to 0
36025:06-27 15:10:21.721+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-common.c: _bt_logging_connection(1200) > [PM] Number of LE conn: 0 disc: 0, Number of BR/EDR conn: 16 disc: 16
36026:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-obex-server.c: _bt_obex_check_pending_transfer(196) > +
36027:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-obex-server.c: __bt_find_transfer_by_address(122) > +
36028:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-obex-server.c: __bt_find_transfer_by_address(137) > -
36029:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-obex-server.c: _bt_obex_check_pending_transfer(215) > -
36030:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(44) > event_type [4], event [85]
36031:06-27 15:10:21.721+0900 D/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(391) > Path : /org/projectx/bt/device
36032:06-27 15:10:21.721+0900 I/BLUETOOTH_FRWK_SERVICE( 2599): bt-service-event-sender.c: _bt_send_event(392) >  Signal : DeviceDisconnected
36033:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 6770): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36034:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36035:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36036:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36037:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36038:06-27 15:10:21.731+0900 D/BLUETOOTH_FRWK_API( 3267): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36039:06-27 15:10:21.741+0900 D/BLUETOOTH_FRWK_API( 2941): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36040:06-27 15:10:21.741+0900 D/BLUETOOTH_FRWK_API( 2921): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36041:06-27 15:10:21.741+0900 D/BLUETOOTH_FRWK_API( 2577): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36042:06-27 15:10:21.741+0900 D/BLUETOOTH_FRWK_API( 2329): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36043:06-27 15:10:21.741+0900 I/CAPI_NETWORK_BLUETOOTH( 2329): bluetooth-common.c: __bt_event_proxy(1159) > bt_device_connection_state_changed_cb() will be called
36044:06-27 15:10:21.751+0900 D/BLUETOOTH_FRWK_API( 2470): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36049:06-27 15:10:21.751+0900 D/BLUETOOTH_FRWK_API( 2384): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36050:06-27 15:10:21.751+0900 I/CAPI_NETWORK_BLUETOOTH( 2384): bluetooth-common.c: __bt_event_proxy(1159) > bt_device_connection_state_changed_cb() will be called
36051:06-27 15:10:21.761+0900 D/BLUETOOTH_FRWK_API( 2332): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36053:06-27 15:10:21.791+0900 W/WECONN  ( 2384): <wc_manager_on_notify_bearer_state:922> type=WC_BEARER_TYPE_BLUETOOTH, new_state=WC_BEARER_STATE_ENABLED, previous_state=WC_BEARER_STATE_CONNECTED
36056:06-27 15:10:21.791+0900 W/WECONN  ( 2384):  ### Bearer Enabled [WC_BEARER_TYPE_BLUETOOTH]
36057:06-27 15:10:21.791+0900 W/WECONN  ( 2384): <wc_device_on_notify_bearer_enabled:2298> device=0xf7961340, bearer=WC_BEARER_TYPE_BLUETOOTH, master os=Android, rfcomm enabled?=1, spp connected?=0, hfp connected?=0
36062:06-27 15:10:21.791+0900 W/WECONN  ( 2384): <wc_manager_get_device_with_identifier:846> couldn't find device with given identifier. bearer=bluetooth
36065:06-27 15:10:21.801+0900 D/BLUETOOTH_FRWK_API( 3033): bt-event-handler.c: __bt_device_event_filter(806) > BT_DEVICE_DISCONNECTED
36077:06-27 15:10:26.351+0900 E/CAPI_NETWORK_BLUETOOTH( 7799): bluetooth-socket.c: bt_socket_unset_connection_state_changed_cb(307) > [bt_socket_unset_connection_state_changed_cb] NOT_INITIALIZED(0xfe400101)

...

 

Client side

...

23089:01-27 14:03:54.607+0900 E/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-mdm.c: _bt_check_mdm_desktop_connectivity_restriction(691) > (_bt_mdm_get_service() != MDM_RESULT_SUCCESS) return
23090:01-27 14:03:54.617+0900 I/BLUETOOTH_FRWK_API( 8486): bt-rfcomm-client.c: bluetooth_rfcomm_connect(685) >  ### Connect RFCOMM
23091:01-27 14:03:54.617+0900 I/BLUETOOTH_FRWK_API( 8486): bt-common.c: _bt_check_privilege(1617) >  Sync Request => type=service_type, fn=service_function(0x134)
23092:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(163) > Method[service_request] Object Path[/org/projectx/bt_service] Interface Name[org.projectx.bt]
23093:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(235) > SERVICE TYPE [0] SERVICE FUNC [308]
23094:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: __rfcomm_assign_id(424) > latest_id: -1
23095:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: __rfcomm_assign_id(431) > index: 0
23096:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: __rfcomm_assign_id(449) > Assigned Id: 0
23097:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: _bt_get_gdbus_node(921) > Got bus id 1
23098:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: _bt_register_new_conn(571) > NEW CONNECTION ID 1
23099:01-27 14:03:54.617+0900 D/BLUETOOTH_FRWK_API( 8486): bt-rfcomm-client.c: bluetooth_rfcomm_connect(740) > Connecting to E4:FA:ED:55:12:45 uuid ffffffff-0000-0000-0000-000000000030
23100:01-27 14:03:54.667+0900 D/BLUETOOTH_FRWK_API( 8486): bt-common.c: _bt_discover_services(1040) > -
23101:01-27 14:03:54.667+0900 I/BLUETOOTH_FRWK_API( 8486): bt-rfcomm-client.c: bluetooth_rfcomm_connect(754) > Adding callback information to rfcomm_clients
23102:01-27 14:03:55.967+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-adapter.c: __bt_get_bonded_device_info(670) > trust: 0, paired: 0
23103:01-27 14:03:55.967+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-receiver.c: _bt_handle_device_event(1751) > Address : E4:FA:ED:55:12:XX Type : 0
23104:01-27 14:03:55.967+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-receiver.c: _bt_handle_device_event(1753) >  ### Connected [BREDR] []
23105:01-27 14:03:55.967+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-common.c: _bt_logging_connection(831) > [PM] Number of LE conn: 1 disc: 1, Number of BR/EDR conn: 23 disc: 22
23106:01-27 14:03:55.967+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(44) > event_type [4], event [84]
23107:01-27 14:03:55.967+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(391) > Path : /org/projectx/bt/device
23108:01-27 14:03:55.967+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(392) >  Signal : DeviceConnected
23109:01-27 14:03:55.977+0900 D/BLUETOOTH_FRWK_API( 2000): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23110:01-27 14:03:55.977+0900 I/CAPI_NETWORK_BLUETOOTH( 2000): bluetooth-common.c: __bt_event_proxy(1144) > bt_device_connection_state_changed_cb() will be called
23111:01-27 14:03:55.977+0900 I/BLUETOOTH_SETTING( 2000): bt-handler.c: _bt_cb_device_state_changed(799) > [ENTER FUNC]
23112:01-27 14:03:55.977+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23113:01-27 14:03:55.977+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23114:01-27 14:03:55.977+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23115:01-27 14:03:55.977+0900 D/BLUETOOTH_FRWK_API( 6768): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23116:01-27 14:03:55.987+0900 D/BLUETOOTH_FRWK_API( 1884): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23117:01-27 14:03:55.987+0900 D/BLUETOOTH_FRWK_API( 1505): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23118:01-27 14:03:55.987+0900 D/BLUETOOTH_FRWK_API( 1489): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23119:01-27 14:03:55.987+0900 D/BLUETOOTH_FRWK_API( 1180): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23120:01-27 14:03:55.987+0900 D/BLUETOOTH_FRWK_API(  926): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23121:01-27 14:03:55.997+0900 D/BLUETOOTH_FRWK_API( 1118): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23123:01-27 14:03:55.997+0900 D/BLUETOOTH_FRWK_API(  920): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23128:01-27 14:03:55.997+0900 W/WECONN  (  933): <wc_manager_on_notify_bearer_state:898> type=WC_BEARER_TYPE_BLUETOOTH, new_state=WC_BEARER_STATE_CONNECTED, previous_state=WC_BEARER_STATE_ENABLED
23131:01-27 14:03:55.997+0900 W/WECONN  (  933):  ### Bearer Connected [WC_BEARER_TYPE_BLUETOOTH]
23132:01-27 14:03:55.997+0900 W/WECONN  (  933): <wc_device_on_notify_bearer_connected:2433> device=0xb8680750, bearer=WC_BEARER_TYPE_BLUETOOTH, master os=Android, rfcomm enabled?=1, spp connected?=0, hfp connected?=0
23136:01-27 14:03:55.997+0900 W/WECONN  (  933): <wc_manager_get_device_with_identifier:822> couldn't find device with given identifier. bearer=bluetooth
23139:01-27 14:03:55.997+0900 I/CAPI_NETWORK_BLUETOOTH(  920): bluetooth-common.c: __bt_event_proxy(1144) > bt_device_connection_state_changed_cb() will be called
23140:01-27 14:03:55.997+0900 D/BLUETOOTH_FRWK_API(  933): bt-event-handler.c: __bt_device_event_filter(794) > BT_DEVICE_CONNECTED
23141:01-27 14:03:55.997+0900 I/CAPI_NETWORK_BLUETOOTH(  933): bluetooth-common.c: __bt_event_proxy(1144) > bt_device_connection_state_changed_cb() will be called
23142:01-27 14:04:00.667+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-receiver.c: _bt_handle_device_event(1783) > Address : E4:FA:ED:55:12:XX Type : 0
23143:01-27 14:04:00.667+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-receiver.c: _bt_handle_device_event(1786) >  ### Disconnected [BREDR] [22 : Connection terminated by local host] [Gear S3 (E245)]
23144:01-27 14:04:00.667+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-headset-connection.c: _bt_headset_set_local_connection(64) > setting connection_local to 0
23145:01-27 14:04:00.667+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-common.c: _bt_logging_connection(831) > [PM] Number of LE conn: 1 disc: 1, Number of BR/EDR conn: 23 disc: 23
23146:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-obex-server.c: _bt_obex_check_pending_transfer(196) > +
23147:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-obex-server.c: __bt_find_transfer_by_address(122) > +
23148:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-obex-server.c: __bt_find_transfer_by_address(137) > -
23149:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-obex-server.c: _bt_obex_check_pending_transfer(215) > -
23150:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(44) > event_type [4], event [85]
23151:01-27 14:04:00.667+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(391) > Path : /org/projectx/bt/device
23152:01-27 14:04:00.667+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-event-sender.c: _bt_send_event(392) >  Signal : DeviceDisconnected
23153:01-27 14:04:00.707+0900 D/BLUETOOTH_FRWK_API( 2000): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23154:01-27 14:04:00.707+0900 I/CAPI_NETWORK_BLUETOOTH( 2000): bluetooth-common.c: __bt_event_proxy(1151) > bt_device_connection_state_changed_cb() will be called
23155:01-27 14:04:00.707+0900 I/BLUETOOTH_SETTING( 2000): bt-handler.c: _bt_cb_device_state_changed(799) > [ENTER FUNC]
23156:01-27 14:04:00.707+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23157:01-27 14:04:00.707+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23158:01-27 14:04:00.707+0900 D/BLUETOOTH_FRWK_API( 1885): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23159:01-27 14:04:00.717+0900 D/BLUETOOTH_FRWK_API( 6768): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23160:01-27 14:04:00.717+0900 D/BLUETOOTH_FRWK_API( 1884): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23161:01-27 14:04:00.727+0900 D/BLUETOOTH_FRWK_API( 1505): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23162:01-27 14:04:00.727+0900 D/BLUETOOTH_FRWK_API( 1489): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23163:01-27 14:04:00.737+0900 D/BLUETOOTH_FRWK_API( 1180): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23164:01-27 14:04:00.737+0900 D/BLUETOOTH_FRWK_API(  926): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23165:01-27 14:04:00.737+0900 D/BLUETOOTH_FRWK_API( 1118): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23167:01-27 14:04:00.747+0900 D/BLUETOOTH_FRWK_API(  920): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23171:01-27 14:04:00.747+0900 I/CAPI_NETWORK_BLUETOOTH(  920): bluetooth-common.c: __bt_event_proxy(1151) > bt_device_connection_state_changed_cb() will be called
23172:01-27 14:04:00.747+0900 D/BLUETOOTH_FRWK_API(  933): bt-event-handler.c: __bt_device_event_filter(817) > BT_DEVICE_DISCONNECTED
23173:01-27 14:04:00.747+0900 I/CAPI_NETWORK_BLUETOOTH(  933): bluetooth-common.c: __bt_event_proxy(1151) > bt_device_connection_state_changed_cb() will be called
23175:01-27 14:04:00.767+0900 W/WECONN  (  933): <wc_manager_on_notify_bearer_state:898> type=WC_BEARER_TYPE_BLUETOOTH, new_state=WC_BEARER_STATE_ENABLED, previous_state=WC_BEARER_STATE_CONNECTED
23178:01-27 14:04:00.767+0900 W/WECONN  (  933):  ### Bearer Enabled [WC_BEARER_TYPE_BLUETOOTH]
23179:01-27 14:04:00.767+0900 W/WECONN  (  933): <wc_device_on_notify_bearer_enabled:2296> device=0xb8680750, bearer=WC_BEARER_TYPE_BLUETOOTH, master os=Android, rfcomm enabled?=1, spp connected?=0, hfp connected?=0
23183:01-27 14:04:00.787+0900 I/BLUETOOTH_FRWK_API(  933): bt-adapter.c: bluetooth_is_connectable(457) >  Sync Request => type=BT_BLUEZ_SERVICE, fn=BT_IS_CONNECTABLE(0x17)
23184:01-27 14:04:00.787+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(163) > Method[service_request] Object Path[/org/projectx/bt_service] Interface Name[org.projectx.bt]
23185:01-27 14:04:00.787+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(235) > SERVICE TYPE [0] SERVICE FUNC [23]
23186:01-27 14:04:00.797+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-adapter.c: _bt_is_connectable(2701) > discoverable_v:1
23188:01-27 14:04:00.797+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-adapter.c: _bt_is_connectable(2706) > Get connectable [1]
23189:01-27 14:04:00.807+0900 I/BLUETOOTH_FRWK_API(  933): bt-adapter.c: bluetooth_set_connectable(482) >  Sync Request => type=BT_BLUEZ_SERVICE, fn=BT_SET_CONNECTABLE(0x18)
23190:01-27 14:04:00.807+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(163) > Method[service_request] Object Path[/org/projectx/bt_service] Interface Name[org.projectx.bt]
23191:01-27 14:04:00.807+0900 D/BLUETOOTH_FRWK_SERVICE( 1243): bt-request-handler.c: __bt_service_method(235) > SERVICE TYPE [0] SERVICE FUNC [24]
23196:01-27 14:04:00.817+0900 W/WECONN  (  933): <wc_manager_get_device_with_identifier:822> couldn't find device with given identifier. bearer=bluetooth
23199:01-27 14:04:00.817+0900 I/BLUETOOTH_FRWK_SERVICE( 1243): bt-service-adapter.c: _bt_set_connectable(2743) >  ### Set connectable [1]
23211:01-27 14:04:04.937+0900 E/CAPI_NETWORK_BLUETOOTH( 8486): bluetooth-socket.c: bt_socket_unset_connection_state_changed_cb(307) > [bt_socket_unset_connection_state_changed_cb] NOT_INITIALIZED(0xfe400101)

...

 

Why two devices not connect each other?  Is it impossible connection?

Thank you.

Responses

1 Replies
Yasin Ali

Hi,

Can you share some of your code?