Page Actions
Wiki Actions
User Actions
Submit This Story

What is it? Alternatives?

This provides access to the nokia e90 memory using the obex protocoll. The memory is mounted like a usual filesystem. Bandwith when accessing via bluetooth is 23kbyte/sec. Dunno what the bottleneck is there, i/o to the memory is it not (becaus e usb-transfer is faster), its also not the bluetooth-throughput (because internet-usage from a pc via bluetooth is faster).

Accessing the e90 via wlan with opexftp (-n option) didnt succeed here, apparently the obex-service is only provided via bluetooth and maybe irda. Using the usb-cable and mounting the e90 as usb-storage-device is the fastest way.

installing and finding the obex-channel

  1. compile a kernel with CONFIG_FUSE_FS as module or build in
  2. modprobe fuse
  3. apt-get install obexfs obexftp # or get, compile and install it from http://dev.zuckschwerdt.org/openobex/wiki/ObexFs
  4. activate bluetooth on the e90
  5. hcitool inq # scan for the e90, get the bluetooth-address
  6. sdptool browse 00:1A:89:C1:21:A6 # can be used to look for the phones services

testing with obexftp

$> obexftp -b 00:1A:89:C1:21:A6 -l # this looks for a channel on your device providing obex-services. Example
Browsing 00:1A:89:C1:21:A6 ...
Channel: 11
Connecting...done
Receiving "(null)"... <?xml version="1.0"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd"
  [ <!ATTLIST folder mem-type CDATA #IMPLIED>
  <!ATTLIST folder label CDATA #IMPLIED> ]>
<folder-listing version="1.0">
   <folder name="C:" user-perm="R" mem-type="DEV" label="Phone memory"/>
   <folder name="E:" user-perm="RW" mem-type="MMC" label="NO NAME"/>
</folder-listing>done
Disconnecting...done

# Channel 11 was chosen. 'sdptool browse <bt>' did show the servicename 'OBEX File Transfer' for this channel.

# So we have directories C: and E: here. We can traverse those step by step
$> obexftp -b 00:1A:89:C1:21:A6 -l C:/     
[...]
   <folder name="DATA" modified="20070628T110514Z" user-perm="RW" mem-type="DEV"/>
[...]
$> obexftp -b 00:1A:89:C1:21:A6 -l C:/DATA/     
[...]
   <folder name="Activenotes" modified="20071211T220908Z" user-perm="RWD" mem-type="DEV"/>
   <folder name="Documents" modified="20071211T220558Z" user-perm="RW" mem-type="DEV" label="Documents"/>
   <folder name="Games" modified="20070612T000002Z" user-perm="RW" mem-type="DEV" label="Games"/>
[...]

mounting the obex-filesystem

  1. mkdir /mnt/e90 # create mountpoint
  2. obexfs -b 00:1A:89:C1:21:A6 -B 11 /mnt/e90 # lets mount it. The nokia e90 is now accessable under the mountpoint.
  3. obexfs -b 00:1A:89:C1:21:A6 -B 11 – -d -f /mnt/e90/ # this could be used for debugging. Wont detach from console.
  4. fusermount -u /mnt/e90 # use this for umounting
  5. extension for automounter is possible ofcourse

links

 
nokia_e90/linux_obexfs.txt · Last modified: 2010/01/15 20:31 (external edit)     Back to top