Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
Vantron | C335 Series User Manual
20
1.7
Optional Functions
1.7.1
Bluetooth (C335L)
1.
Open and initialize HCI device;
# hciconfig hci0 up
2.
Scan for the Bluetooth devices (the MAC addresses of the Bluetooth devices will be
listed below the command line);
# hcitool scan
3.
Browse all the services available on the target device discovered after the Bluetooth
scan and figure out the channel of service “OBEX Object Push”;
For instance, the Bluetooth device with MAC address 3C:CD:5D:36:9F:A6 is running
the following services and the channel of service “OBEX Object Push” is 12.
# sdptool browse 3C:CD:5D:36:9F:A6
Browsing 3C:CD:5D:36:9F:A6 ...
Service RecHandle: 0x10000
Service Class ID List:
"Generic Attribute" (0x1801)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 31
……………………………………………………………….
……………………………………………………………….
Browsing 3C:CD:5D:36:9F:A6 ...
Service Name: OBEX Phonebook Access Server
Service RecHandle: 0x1000a
Service Class ID List:
"Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 19
"OBEX" (0x0008)
Profile Descriptor List:
"Phonebook Access" (0x1130)
Version: 0x0101