10 Application Notes
User Manual
321/374
Baud-Rate
[kBit/s]
Drop-line length
[m]
Total length of all drop-lines
[m]
125
< 20
< 100
50
< 50
< 250
10.1.8
Bluetooth M2M
The file describes how to easily create a connection between a master TC1 module to a slave TC1 module.
Precondition: Both modules must have a up and discoverable Bluetooth device.
How to check if the Bluetooth interface is up:
After booting up the devices, check if the Bluetooth interface is up with the hciconfig command:
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:07:80:43:5A:EE ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
// This line
indicates that the Bluetooth interface is
// up and can be
discoverd.
RX bytes:1339895 acl:7679 sco:0 events:1891 errors:0
TX bytes:31463 acl:1568 sco:0 commands:152 errors:0
#
On success:
The line 'UP RUNNING PSCAN ISCAN' indicates that the interface is up and discoverable.
On failure:
Open and initialize the Bluethooth interface:
# hciconfig hci0 up
Enable page and inquiry scan of the Bluethooth interface:
# hciconfig hci0 piscan
Serial Connection via Bluetooth
Scan for other Bluetooth devices to retrieve the bdaddr for the needed device, execute the command hcitool
with the parameter scan:
# hcitool scan
Scanning ...
00:07:80:57:BF:A6 TC1-141231231003
//This is the module the connection
shall be established with
00:15:83:41:79:8D Notebook_1
CC:52:AF:05:BF:0D Smartphone_xyz
#
In this example the the module TC1-141231231003 was found and is used to establish a connection with.
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...