You are not logged in.

#1 2017-08-16 03:24:38

victor_wang
Member
Registered: 2017-08-16
Posts: 1

The issue of sending file to my iPhone via obexctl

Hi All,
I'm new in Linux+QT system.
I wanna send my file to my iPhone via BT by using obexctl.
This is what I got by using bluetoothctl.

Device 70:81:EB:76:6E:D3
        Name: iPhone
        Alias: iPhone
        Class: 0x7a020c
        Icon: phone
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacafe)
        UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
        UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
        UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
        UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        Modalias: bluetooth:v004Cp6F01d0A30

And the following steps are how i do it step by step to connect my iPhone.

1. Running this command "obexctl"
2. connect with this command "connect 50:12:EB:23:8E:D4 00054245f-0000-1000-8000-00805f9b34f "(P.S The UUID is stand for Phonebook Access Server )
3. list things out by running this command "ls".

On the third step, I will get this following error.

Failed to List: org.bluez.obex.Error.Forbidden

On the second step, if I connect "Message Access Server " for instead then it will give me the following error.

Failed to connect: org.bluez.obex.Error.Failed

First question:

Why I can't list my phone?
Is that because of the authority?

Second question:

Why I cannot connect "Message Access Server "?

Thanks in Advance!

Offline

Board footer

Powered by FluxBB