Mounting bluetooth that have OBEX capable transfer

by danang.wijanarko@gmail.com,

 

What ?

This small device, like your mobile phone have the capability to store some document and transfer it to other device, mostly it will also supporting the OBEX protocol. If you want it easier then, just mount it and browse them. This trick is mean to do just like that. Yes !!! just like that !!!

How ?

Install the appropriate software:

root@d1x:~# apt-get install obexfs bluetooth

Scan the device:

root@d1x:~# hcitool scan
Scanning ...
00:22:98:B2:00:82 Siva-w880i
00:1C:A4:4D:3D:92 W950i
00:1B:59:46:BE:14 Siva-K750

Check the capability of the device:

root@d1x:~# sdptool browse 00:1C:A4:4D:3D:92
Browsing 00:1C:A4:4D:3D:92 ...
...
Service Name: File transfer
Service RecHandle: 0x1000f
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
...

So yes you have it, then mount it

root@d1x:~# obexfs -b 00:1C:A4:4D:3D:92 /mnt/5/
root@d1x:~# ls /mnt/5/
External D Internal

 

Done ? is it done ?

 

-d

"Bekatul Port" Personal Enterprise Number (PEN) registered @ IANA OID

ASN.1 Notation: {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 30347}

Dot Notation: 1.3.6.1.4.1.1.30347

IRI Notation: oid:/ISO/Identified-Organization/6/1/4/1/30347