J'essaie de laisser mon téléphone Android (4.1.1) utiliser la connexion wifi de mon Mac (10.8.2) via Bluetooth. Voici ce que j'ai essayé :
- Appareils appariés avec succès ; interface PAN créée sur le Mac
- Activation du partage d'Internet de Wifi à Bluetooth PAN
-
adb shell
;pand -c XX:XX:XX:XX:XX:XX
Après avoir exécuté pand
Je vois brièvement que la connexion Bluetooth est établie, mais elle tombe rapidement après une seconde. Exécution de adb logcat
c'est ce que je vois :
I/pand ( 4876): Bluetooth PAN daemon version 4.93
I/pand ( 4876): Connecting to XX:XX:XX:XX:XX:XX
D/BluetoothEventLoop( 300): Device property changed: XX:XX:XX:XX:XX:XX property: Connected value: true
E/pand ( 4876): Connect to XX:XX:XX:XX:XX:XX failed. Permission denied(13)
D/BluetoothEventLoop( 300): Device property changed: XX:XX:XX:XX:XX:XX property: Connected value: false
Comment faire pour que cela fonctionne correctement ?