10 Application Notes
User Manual
324/374
In the output of the inquiry the channel number 10 is received. This channel number is used for sending or
receiving files between the devices.
For sending a file use the obexftp command. The first parameter specifies the Bluetooth address of the remote
device and the second parameter specifies the Bluetooth channel. The third parameter is the path to the file
that must be sent:
# obexftp -b 00:07:80:57:BF:A6 -B 10 -p /etc/apns-conf.xml
Connecting...done
Tried to connect for 825ms
Sending "/etc/apns-conf.xml"...|done
Disconnecting...done
#
For receiving a file use also the obexftp command. The only difference is the last parameter.
Use the list parameter of the obexftp command, to get the available files:
# obexftp -b 00:07:80:57:BF:A6 -B 10 -l
Connecting...done
Tried to connect for 562ms
Receiving "(null)"...\<?xml version="1.0"?>
<!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
<folder-listing version="1.0">
<file name="apns-conf.xml" size="250493" user-perm="RWD" modified="19700105T033647Z"
created="19700105T033647Z" accessed="19700105T033720Z" />
<file name="apn.setting" size="96" user-perm="RWD" modified="19700105T032939Z"
created="19700105T032939Z" accessed="19700105T032939Z" />
<file name="sdruntime" size="2" user-perm="RWD" modified="19700105T032926Z"
created="19700105T032926Z" accessed="19700105T032926Z" />
<file name="wakeup" size="4" user-perm="RWD" modified="19700105T032926Z"
created="19700105T032926Z" accessed="19700105T032939Z" />
<file name="interfaces" size="510" user-perm="RWD" modified="19700105T032925Z"
created="19700105T032925Z" accessed="19700105T032925Z" />
<file name="issue" size="164" user-perm="RWD" modified="19700105T032925Z"
created="19700105T032925Z" accessed="19700105T032940Z" />
<file name="hostname" size="17" user-perm="RWD" modified="19700105T032925Z"
created="19700105T032925Z" accessed="19700105T032925Z" />
<folder name="dbus" size="60" user-perm="RWD" modified="20130422T053845Z"
created="19700105T032922Z" accessed="20130422T053845Z" />
</folder-listing>
done
Disconnecting...done
#
To download, for example, the hostname file use the get parameter of the obexftp command in the following
way:
# obexftp -b 00:07:80:57:BF:A6 -B 10 -g hostname
Connecting...done
Tried to connect for 569ms
Receiving "hostname"... done
Disconnecting...done
#
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...