103
2.5.6 Communication Procedure by Profile
While Bluetooth communication takes place, there is a chance that the communication link may
be interrupted due to radio wave conditions in air, so the retry process is always recommended in
application to verify the communication. In general, it is recommended also that the retry process
should be carried out in any wireless communication including WLAN if it takes place within the
vicinity by other equipment using the same frequency band (“ISM” band) such as microwave
oven.
Serial Profile
Bluetooth connection can be managed using either the Bluetooth tool or the Bluetooth Library.
The functions of the Bluetooth Library relevant to the Serial Profile are as follows.
BTConnectSerial
: Establishes connection using Bluetooth virtual serial profile.
BTSendSerialData
: Sends data using Bluetooth virtual serial profile.
BTReceiveSerialData
: Receives data using Bluetooth virtual serial profile.
BTDisconnectSerial
: Disconnects Bluetooth virtual serial profile.
DUN (Dial-Up Network)
Bluetooth connection can be managed using either the Bluetooth tool or the Bluetooth Library.
The communication will take place with RAS setting using “BTP1”. After the connection has
been established, communication via the TCP/IP protocol is possible.
The function of the Bluetooth Library relevant to the DUN (Dial-Up Network) is as follows.
BTSelectDevice
: Specifies Bluetooth device to be connected.