Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
C335 Series Edge Computing Gateways | User Manual
20
Service Name:
OBEX Object Push
Service RecHandle: 0x1000b
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel:
12
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0102
……………………………………………………………….
……………………………………………………………….
If the Gateway does not support service “OBEX Object Push”, please input the
command line below:
~# sdptool add --channel = 12 OPUSH
4.
Use “obex_test” command to send a test file to the Bluetooth device, i.e., obex_test
-b <MAC address of the Bluetooth device > <channel>;
For instance, to send the test file to the aforementioned Bluetooth device:
~#
obex_test -b
3C:CD:5D:36:9F:A6
12
> c
[Note: to connect to the device]
…………..
Connect OK!
[Note: the Bluetooth device is connected to the gateway.]
Version: 0x10. Flags: 0x00
> p /etc/usb-mode.json
[Note: The arguments following “p” is the path of the test file to be sent.]
PUT file (local)> name=send.txt, size=9
PUT remote filename (default: send.txt)>
Going to send 9 bytes
…………..
PUT successful!
[Note: The test file is sent to the Bluetooth device]
> q
[Note: to exit obex_test]
5.
Exit “obex_test”, and enable page and search scan so that the target Bluetooth device
is discoverable;
~# hciconfig hci0 piscan