DFRobot TEL0120 Podręcznik - Strona 14

Przeglądaj online lub pobierz pdf Podręcznik dla Jednostka sterująca DFRobot TEL0120. DFRobot TEL0120 18 stron.

Restart BLE4.1 device and begin the approach connection.
Approach Connection: press and hold host BOOT button and move it close to the target slave
device (<10cm) until a successful connection, then the LINK will light on each 3 seconds
NOTE:
1. The first time you press and hold the host BOOT button is only for add the new devices to the
white list. It doesn't need the same operation for the second connection.
2. BLE 4.1 device is also compatible with BLE4.0 devices (Bluno 1st generation). And BLE 4.0 only
supports P2P connection, so it doesn't need to set the connection mode for 4.0, just BLE 4.1 only.
Bluetooth Star Network Connection
The star network connection mode is similar to the P2P connection mode, the difference between
them in setting is that the star network uses the command AT+NETWORK=STAR. The light LINK
suggests the node device has been added to the white list of the central device and then it will
connect the listed device automatically.
Fig1: Set Star Network Connection
NOTE: Star network connection is only for BLE4.1 device, not applicable to Bluno
1st generation (BLE4.0) and other BLE brands device.
In the star connection, Bluetooth device adopt special data packet compression method. You
can use Arduino library to realize network data transmit.
library files
and
connected to the host will get ID: 1 and hereby superimposed. The sample code shows how to
get network ID of the device and ID of the data source. You'd better to power the device in turn
when build star network.
Arduinojson library
files. During the connection, the slave device which first
Click the link to download Arduino