IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

API standards et tierces Android Discussion :

appairage et socket bluetooth


Sujet :

API standards et tierces Android

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    16
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 16
    Points : 5
    Points
    5
    Par défaut appairage et socket bluetooth
    Salut à tous,

    Voici mon problème :

    J'ai développé une application sur un téléphone (le HTC désire) et j'ai essayé de la passer sous une tablette (samsung galaxy tab).
    Chose importante à savoir : le téléphone est sous 2.1 et la tablette sous 2.2.

    Mon application utilise un périphérique bluetooth afin d'échanger des données avec l'application.
    J'obtiens des différences assez bizarre...

    Premièrement, sur la tablette je dois, à chaque nouvelle connexion, renseigner le code d'appairage du périphérique bluetooth (chose que je ne dois pas faire sur le téléphone...).
    Normal ?

    Deuxièmement, lorsque je quitte l'application depuis la tablette celle ci plante totalement... Alors que sur le téléphone il n'y a aucun probleme.
    J'ai repéré le problème cela viens de la socket bluetooth apparement, puisque quand je vire le code associé ça plante plus... (mais mon application devient du coup inutile^^).
    Je précise que je ferme proprement la socket après chaque utilisation...

    Voici comment j'utilise la socket pour la connexion :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
     
    public BluetoothSocket connectTest(String adr)
    {
    	BluetoothDevice hxm;
    	Method m;
     
    	try 
    	{	
    		hxm = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(adr);
    		m = hxm.getClass().getMethod("createRfcommSocket", new Class[]{int.class});
    		socket = (BluetoothSocket)m.invoke(hxm, Integer.valueOf(1));
     
     
    	}
    	catch (SecurityException e) 
    	{
    		// TODO Auto-generated catch block
    		e.printStackTrace();
    	} 
    	catch (NoSuchMethodException e) 
    	{
    		// TODO Auto-generated catch block
    		e.printStackTrace();
    	} 
    	catch (IllegalAccessException e) 
    	{
    		// TODO Auto-generated catch block
    		e.printStackTrace();
    	} 
    	catch (InvocationTargetException e) 
    	{
    		// TODO Auto-generated catch block
    		e.printStackTrace();
    	}
     
    	return socket;
     
    } // connectTest
    J'ai essayé aussi avec une autre méthode (qui marche sur le téléphone mais qui plante la tablette) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
     
    public BluetoothSocket connectByAndroid(BluetoothDevice mmDevice)
    {
    	BluetoothSocket mmSocket=null;
    	UUID myUUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
     
    	try 
    	{
    		// MY_UUID is the app's UUID string, also used by the server code
    		mmSocket = mmDevice.createRfcommSocketToServiceRecord(myUUID);
    		//mmSocket.
    	} 
    	catch (IOException e) 
    	{
    		io.errorMessage("btcontroler creatRfcom l:154 :"+e.getMessage());
    	}
     
    	return mmSocket;
     
    } // connectByAndroid
    Une idée du problème?

    Ce que je comprend absolument pas c'est que toutes ces méthodes marche mais lorsque je quitte le programme ça plante...

  2. #2
    Rédacteur
    Avatar de MrDuChnok
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2002
    Messages
    2 112
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Juin 2002
    Messages : 2 112
    Points : 4 240
    Points
    4 240
    Par défaut
    Salut,

    Quand tu dis que ça plante ou ça bug, as-tu une exception qui est levée ?
    Si oui pourrais-tu nous la poster ici ?

    Merci.
    Si vous jugez mon post utile dans la résolution de votre problème, n'hésitez pas à utiliser le système de vote afin d'améliorer la qualité du forum

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    16
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 16
    Points : 5
    Points
    5
    Par défaut
    c'est justement ce que je ne comprend pas...
    Lorsque je regarde le DDMS il n'y a rien d'anormale, aucune erreure.

    Voici le log DDMS à partir du moment ou je quitte l'application :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
     
    12-08 15:04:15.183: WARN/Reader.java:read(3152): fin lecture de Thread-12
    12-08 15:04:15.186: DEBUG/IOVitale(3152): W-> vous etes deconecté
    12-08 15:04:16.464: ERROR/ShutdownThread(2493): IsShutDownStarted()
    12-08 15:04:16.464: INFO/KeyInputQueue(2493): Input event
    12-08 15:04:16.464: DEBUG/KeyInputQueue(2493): screenCaptureKeyFlag setting 1
    12-08 15:04:16.476: VERBOSE/WindowManager(2493): Dsptch to Window{484a93d0 org.toremote.rdpdemo/org.toremote.rdpdemo.ServersList paused=false}
    12-08 15:04:16.569: ERROR/ShutdownThread(2493): IsShutDownStarted()
    12-08 15:04:16.569: INFO/KeyInputQueue(2493): Input event
    12-08 15:04:16.569: DEBUG/KeyInputQueue(2493): screenCaptureKeyFlag setting 0
    12-08 15:04:16.569: VERBOSE/WindowManager(2493): Dsptch to Window{482091c8 fr.televitale.android.televitale/fr.televitale.android.televitale.Home paused=false}
    12-08 15:04:16.757: INFO/ActivityManager(2493): Displayed activity fr.televitale.android.televitale/.Home: 34016 ms (total 34016 ms)
    12-08 15:04:19.621: ERROR/ShutdownThread(2493): IsShutDownStarted()
    12-08 15:04:19.621: INFO/KeyInputQueue(2493): Input event
    12-08 15:04:19.621: DEBUG/KeyInputQueue(2493): screenCaptureKeyFlag setting 1
    12-08 15:04:19.628: VERBOSE/WindowManager(2493): Dsptch to Window{482091c8 fr.televitale.android.televitale/fr.televitale.android.televitale.Home paused=false}
    12-08 15:04:19.644: WARN/KeyCharacterMap(3152): No keyboard for id 0
    12-08 15:04:19.644: WARN/KeyCharacterMap(3152): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
    12-08 15:04:19.755: ERROR/ShutdownThread(2493): IsShutDownStarted()
    12-08 15:04:19.755: INFO/KeyInputQueue(2493): Input event
    12-08 15:04:19.755: DEBUG/KeyInputQueue(2493): screenCaptureKeyFlag setting 0
    12-08 15:04:19.757: VERBOSE/WindowManager(2493): Dsptch to Window{482091c8 fr.televitale.android.televitale/fr.televitale.android.televitale.Home paused=false}
    12-08 15:04:19.761: WARN/ONBACKPRESSED(3152): SNIFFFFF
    12-08 15:04:19.765: WARN/ONBACKPRESSED(3152): SNOOOOOFFFFFFFF
    12-08 15:04:19.765: VERBOSE/Reader.java:close(3152): debut fermeture Thread-12
    12-08 15:04:19.765: VERBOSE/Reader.java:close(3152): fin fermeture Thread-12
    12-08 15:04:19.765: VERBOSE/AndroidReader.java:close(3152): READERTCP closed
    12-08 15:04:19.765: VERBOSE/AndroidTcpControler.java:close(3152): tcp reader closed
    12-08 15:04:19.765: VERBOSE/AndroidTcpControler.java:close(3152): writer tcp closed
    12-08 15:04:19.765: VERBOSE/AndroidTcpControler.java:close(3152): tcp socket closed
    12-08 15:04:19.765: VERBOSE/AndroidTcpControler.java:close(3152): tcp controleur closed and null
    12-08 15:04:19.765: VERBOSE/PontAndroid.java:close(3152): tcp controleur closed
    12-08 15:04:19.765: VERBOSE/Reader.java:close(3152): debut fermeture Thread-14
    12-08 15:04:19.765: DEBUG/BluetoothSocket.cpp(3152): abortNative
    12-08 15:04:19.765: DEBUG/ASOCKWRP(3152): asocket_abort [38,39,40]
    12-08 15:04:19.765: INFO/BLZ20_WRAPPER(3152): blz20_wrp_shutdown: s 38, how 2
    12-08 15:04:19.765: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_shutdown:  fd (-1:38), bta 2, rc 1, wflags 0x800, cflags 0x0, port 9050
    12-08 15:04:19.765: INFO/BLZ20_WRAPPER(3152): blz20_wrp_shutdown: shutdown socket
    12-08 15:04:19.765: INFO/BTL-IFS-WRAPPER(2859): check_data_sock: [DATA] Channel disconnected [brcm.bt.dtun]
    12-08 15:04:19.765: DEBUG/BTL-IFS-WRAPPER(2859): notify_data_ch_disc_ind: [notify_data_ch_disc_ind] notify_data_ch_disc_ind: brcm.bt.dtun sub 15 (24:-1)
    12-08 15:04:19.765: INFO/BTL-IFS(2859): btl_if_notify_rx_buf_pending: rx buffer pending, notify user (0x4031ccae 666)
    12-08 15:04:19.765: INFO/BTL-IFS(2859): btl_if_notify_local_event: Notify local event BTLIF_DISC_RX_BUF_PENDING
    12-08 15:04:19.765: DEBUG/(2859): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_DISC_RX_BUF_PENDING (4115) on hdl -1
    12-08 15:04:19.765: INFO/(2859): btlif_rfc_rx_buf_pending: free rx buf 4031ccae
    12-08 15:04:19.765: INFO/BTL-IFS(2859): btl_if_notify_local_event: Notify local event BTLIF_DATA_CH_DISC_IND
    12-08 15:04:19.765: DEBUG/(2859): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_DATA_CH_DISC_IND (4111) on hdl 22
    12-08 15:04:19.765: INFO/(2859): btlif_rfc_data_chan_disc_ind: disconnected hdl 24
    12-08 15:04:19.765: INFO/BTL-IFS-WRAPPER(2859): wrp_close_data: wrp_close 24 [brcm.bt.dtun]
    12-08 15:04:19.765: DEBUG/BTL-IFS-WRAPPER(2859): wsactive_del: delete wsock 24 from active list [1be774]
    12-08 15:04:19.765: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_poll: transp poll : (fd 38) returned r_ev [POLLIN POLLHUP ] (0x11)
    12-08 15:04:19.765: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_poll: return 1
    12-08 15:04:19.765: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_read: read 0 bytes out of 8192 on fd 38
    12-08 15:04:19.765: INFO/BLZ20_WRAPPER(3152): blz20_wrp_read: connection aborted
    12-08 15:04:19.765: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_read: set errno 103 (Software caused connection abort) l.1923 
    12-08 15:04:19.765: WARN/Reader.java:read(3152): fin lecture de Thread-14
    12-08 15:04:19.769: DEBUG/IOVitale(3152): W-> vous etes deconecté
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_write: wrote 1 bytes out of 1 on fd 40
    12-08 15:04:19.769: DEBUG/BluetoothSocket.cpp(3152): ...asocket_abort(38) complete
    12-08 15:04:19.769: DEBUG/BluetoothSocket.cpp(3152): destroyNative
    12-08 15:04:19.769: DEBUG/ASOCKWRP(3152): asocket_destroy
    12-08 15:04:19.769: DEBUG/ASOCKWRP(3152): asocket_abort [38,39,40]
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): blz20_wrp_shutdown: s 38, how 2
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_shutdown:  fd (-1:38), bta 2, rc 1, wflags 0x800, cflags 0x0, port 9050
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): blz20_wrp_shutdown: shutdown socket
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_write: wrote 1 bytes out of 1 on fd 40
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): blz20_wrp_close: s 40
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_close: std close (40)
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): blz20_wrp_close: s 39
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_close: std close (39)
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): blz20_wrp_close: s 38
    12-08 15:04:19.769: DEBUG/BLZ20_WRAPPER(3152): blz20_wrp_close:  fd (-1:38), bta 2, rc 1, wflags 0x800, cflags 0x0, port 9050
    12-08 15:04:19.769: INFO/BLZ20_WRAPPER(3152): __close_prot_rfcomm: fd 38
    12-08 15:04:19.769: DEBUG/BTL_IFC(3152): BTL_IFC_CtrlSend: BTL_IFC_CtrlSend
    12-08 15:04:19.769: INFO/BTL_IFC(3152): send_ctrl_msg: [BTL_IFC CTRL] send BTLIF_BTS_RFC_CLOSE (BTS) 8 pbytes (hdl 37)
    12-08 15:04:19.769: DEBUG/(2859): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_BTS_RFC_CLOSE (4468) on hdl 22
    12-08 15:04:19.769: DEBUG/(2859): btlif_rfc_close: scn 1, sock 38
    12-08 15:04:19.769: DEBUG/(2859): btlif_rfc_close:  type 0, dhdl -1, bta_hdl 2, scn 1, phdl 11, lstpnd 0, -1:38 (L:D)
    12-08 15:04:19.769: INFO/(2859): btlif_rfc_close: close rfcomm connection
    12-08 15:04:19.769: DEBUG/(2859): bts_chan_free: p = 0x1f7b78
    12-08 15:04:19.769: DEBUG/BTL-IFS-WRAPPER(2859): wrp_free_dynamicport: free dyn port 9050 (s:0), sub 1
    12-08 15:04:19.769: DEBUG/(2859): bts_chan_free: bts_chan_free success, bta hdl 2 (tot 1)
    12-08 15:04:19.769: DEBUG/(2859): bts_chan_dump_all: ### channel list ###
    12-08 15:04:19.769: DEBUG/(2859): bts_chan_dump_all:  type 0, dhdl -1, bta_hdl 1, scn 19, phdl 65535, lstpnd 0, 31:-1 (L:D)
    12-08 15:04:19.776: DEBUG/BTL_IFC_WRP(3152): wrp_close_s_only: wrp_close_s_only [38] (38:-1) [brcm.bt.dtun]
    12-08 15:04:19.776: DEBUG/BTL_IFC_WRP(3152): wrp_close_s_only: data socket closed
    12-08 15:04:19.776: DEBUG/BTL_IFC_WRP(3152): wsactive_del: delete wsock 38 from active list [ad3f5f70]
    12-08 15:04:19.776: DEBUG/BTL_IFC_WRP(3152): wrp_close_s_only: wsock fully closed, return to pool
    12-08 15:04:19.776: DEBUG/BLZ20_WRAPPER(3152): btsk_free: success
    12-08 15:04:19.776: DEBUG/BluetoothSocket.cpp(3152): ...asocket_destroy(38) complete
    12-08 15:04:19.776: VERBOSE/Reader.java:close(3152): fin fermeture Thread-14
    12-08 15:04:19.776: VERBOSE/AndroidReader.java:close(3152): READERBT closed
    12-08 15:04:19.776: WARN/AndroidBluetoothControler.java:close(3152): bt reader closed
    12-08 15:04:19.776: WARN/AndroidBluetoothControler.java:close(3152): bt writer closed
    12-08 15:04:19.776: WARN/AndroidBluetoothControler.java:close(3152): bt socked closed
    12-08 15:04:19.776: WARN/AndroidBluetoothControler.java:close(3152): bt controleur closed and null
    12-08 15:04:19.776: WARN/PontAndroid.java:close(3152): BT controleur closed
    12-08 15:04:19.776: WARN/PontAndroid.java:close(3152): Pont Closed
    12-08 15:04:19.776: WARN/ONBACKPRESSED(3152): SNAAAAAAFFFFFFFF
    12-08 15:04:19.796: INFO/AndroidRuntime(3152): AndroidRuntime onExit calling exit(0)
    12-08 15:04:19.823: INFO/WindowManager(2493): WIN DEATH: Window{482091c8 fr.televitale.android.televitale/fr.televitale.android.televitale.Home paused=true}
    12-08 15:04:19.827: INFO/ActivityManager(2493): Process fr.televitale.android.televitale (pid 3152) has died.
    12-08 15:04:19.839: INFO/Launcher(2607): onResume(). mIsNewIntent : false
    12-08 15:04:19.847: INFO/BTL-IFS-WRAPPER(2859): rx_data: socket disconnected.
    12-08 15:04:19.847: INFO/BTL-IFS(2859): detach_client: ########  Detached client subsystem (BTS) fd -1 ######## 
    12-08 15:04:19.847: INFO/BTL-IFS(2859): detach_client: @*@*@*@*@*@*@*@*@*@*@*@*@* (BTS) - close(-1)
    12-08 15:04:19.847: INFO/BTL-IFS(2859): btl_if_notify_local_event: Notify local event BTLIF_SUBSYSTEM_DETACHED
    12-08 15:04:19.847: DEBUG/(2859): btlif_bts_api_ctrl_cb: btlif_bts_api_ctrl_cb : id BTLIF_SUBSYSTEM_DETACHED (4113) on hdl 22
    12-08 15:04:19.847: INFO/(2859): btlif_rfc_ctrl_chan_detached: client detached ctrl handle -1
    12-08 15:04:21.538: INFO/ActivityManager(2493): Start proc com.sec.android.widgetapp.infoalarm for content provider com.sec.android.widgetapp.infoalarm/.engine.InfoAlarmProvider: pid=3207 uid=10010 gids={3003, 1015, 3002}
    12-08 15:04:21.558: INFO/Zygote(3207): Zygote: pid 3207 has INTERNET permission, then set capability for CAP_NET_RAW(13)
    12-08 15:04:21.558: INFO/Zygote(3207): Zygote: pid 3207 has CALL PRIVILEGED permission, then set capability for CAP_SYS_ADMIN (21)
    12-08 15:04:21.581: DEBUG/(2859): jw_if_rfcomm_cl_cback: jw_if_rfcomm_cl_cback event=BTA_JV_RFCOMM_CLOSE_EVT
    12-08 15:04:21.581: INFO/(2859): jv_rfc_close: jv_rfc_close hdl 2, status 1, remotely initiated 0, result 19, port status 1074826780
    12-08 15:04:21.581: DEBUG/(2859): jv_rfc_close: channel already disconnected
    12-08 15:04:22.534: INFO/ActivityThread(3207): Publishing provider InfoAlarm: com.sec.android.widgetapp.infoalarm.engine.InfoAlarmProvider
    12-08 15:04:22.554: INFO/global(2493): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.
    12-08 15:04:22.565: ERROR/InfoAlarmProvider(3207): onCreate - createDataBase - full path = /dbdata/databases/com.sec.android.widgetapp.infoalarm/infoalarm.db
    12-08 15:04:22.565: ERROR/InfoAlarmProvider(3207): onCreate - createDataBase - dir Path = /dbdata/databases/com.sec.android.widgetapp.infoalarm/
    12-08 15:04:22.569: INFO/InfoAlarmProvider(3207): createDataBase - exist DB
    12-08 15:04:23.558: INFO/Launcher(2607): Clearing the Status Bar lock in onResume function
    12-08 15:04:23.558: DEBUG/StatusBar(2493): manageDisableList what=0x0 pkg=com.sec.android.app.twlauncher
    12-08 15:04:23.558: ERROR/Launcher(2607): setWindowOpaque()
    12-08 15:04:24.542: INFO/Launcher(2607): onResume() ended
    12-08 15:04:24.565: DEBUG/BatteryService(2493): update start
    12-08 15:04:24.573: DEBUG/BatteryService(2493): updateBattery level:7 scale:100 status:4 health:2 present:true voltage: 3596 temperature: 350 technology: Li-ion AC powered:false USB powered:true icon:17302429
    12-08 15:04:25.534: WARN/ResourceType(2493): Skipping entry 0x7f040004 in package table 0 because it is not complex!
    12-08 15:04:25.546: DEBUG/WifiService(2493): ACTION_BATTERY_CHANGED pluggedType: 2
    12-08 15:04:26.530: WARN/PowerManagerService(2493): Timer 0x7->0x3|0x1
    12-08 15:04:26.530: INFO/PowerManagerService(2493): Ulight 7->3|0
    12-08 15:04:26.554: ERROR/InfoAlarmWidget(2607): AllDay Event Count = 0
    12-08 15:04:27.558: INFO/Launcher(2607): onWindowFocusChanged(true)
    12-08 15:04:27.558: ERROR/Launcher(2607): setWindowOpaque()
    12-08 15:04:27.581: INFO/BTL-IFS(2859): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTRL) 11 pbytes (hdl 13)
    12-08 15:04:27.581: WARN/BTLD(2859): btui_security_cback( LINK FAILURE:: hci status: 19) 8==link super to
    12-08 15:04:27.581: WARN/BTLD(2859): for bd_addr: x00:x07:x80:x96:x9a:x5b
    12-08 15:04:28.530: INFO/DTUN_CLNT(2923): dtun-rx signal [DTUN_SIG_DM_LINK_DOWN] (id 48) len 13
    12-08 15:04:28.530: DEBUG/DTUN_HCID4(2923):         dtun_dm_sig_link_down()
    12-08 15:04:28.530: INFO/DTUN_HCID4(2923): dtun_dm_sig_link_down device = 0xe9a8 handle = 256 reason = 19
    12-08 15:04:28.530: INFO/BluetoothEventLoop.cpp(2493): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/2923/hci0/dev_00_07_80_96_9A_5B
    12-08 15:04:28.530: DEBUG/BluetoothEventLoop(2493): Device property changed:00:07:80:96:9A:5B property:Disconnected
    12-08 15:04:28.534: DEBUG/BT HSHFP(2596): Received intent Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED (has extras) }
    12-08 15:04:28.534: INFO/BT HSHFP(2596): ACL disconnected
    12-08 15:04:28.534: INFO/BluetoothService(2493): ACL disconnected, mAclLinkCount = 0
    12-08 15:04:28.534: DEBUG/BluetoothA2dpService(2493): Received intent Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED (has extras) }
    12-08 15:04:28.534: INFO/BluetoothHIDService(2493): Received intent Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED (has extras) }, device = 00:07:80:96:9A:5B
    12-08 15:04:28.534: INFO/BluetoothHIDService(2493):     ...ACL disconnected
    12-08 15:04:29.538: WARN/InputManagerService(2493): Got RemoteException sending setActive(false) notification to pid 3152 uid 10082
    12-08 15:04:30.534: WARN/ActivityManager(2493): Launch timeout has expired, giving up wake lock!
    12-08 15:04:30.534: WARN/ActivityManager(2493): Activity idle timeout for HistoryRecord{47f59e38 com.sec.android.app.twlauncher/.Launcher}

Discussions similaires

  1. IOException connexion socket bluetooth
    Par roy_44 dans le forum API standards et tierces
    Réponses: 2
    Dernier message: 25/03/2014, 08h32
  2. Réponses: 9
    Dernier message: 03/10/2012, 13h44
  3. Création d'un Socket Bluetooth
    Par stzup7 dans le forum Réseau
    Réponses: 0
    Dernier message: 04/07/2008, 16h50
  4. Socket Bluetooth en C
    Par Darkeagle33 dans le forum Réseau
    Réponses: 1
    Dernier message: 04/01/2007, 18h54
  5. [socket] Gérer la déconnexion bluetooth
    Par basnifo dans le forum MFC
    Réponses: 2
    Dernier message: 15/03/2006, 17h31

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo