Chapter 18. Bluetooth
463
18.2.4.3 Resume Operation
Bluetooth communications does not support resume operation.
If the BHT shuts itself down due to low battery, etc, when the Bluetooth communications
device file is opened, the results of Bluetooth-related statements and functions executed
during shutdown are not assured so that coincidence between transmitted and received data
is not assured. The solution is to use the BHT-protocol, BHT-Ir protocol, or TCP/IP or create
protocols in user programs.
Extended function BT.FN3 function number .fcBTGetStt allows the user program to check
whether the BHT is turned off. If the current status is "Not connected. BHT power off," close
the Bluetooth communications device file once and then open it.
For further details on extended function BT.FN3, refer to Section 18.4 "Bluetooth Extended
Functions (BT.FN3)."
Comentarios a estos manuales