|
|
|
|
WLanguage procedure called by BTStatus Procedure ("Callback") called by BTStatus when the Bluetooth activation status changes on the device. This procedure can be a local, global or internal procedure. BTStatus(ChangeBT) Â INTERNAL PROCEDURE ChangeBT(NewStatus, FormerStatus) IF NewStatus <> FormerStatus THEN ToastDisplay("Bluetooth connection changed") END
Syntax
BTStatus_Callback(<New status> , <Former status>)
<New status>: Integer constant New Bluetooth activation status on the device. This status corresponds to one of the following constants:
| | btActivationInProgress | The Bluetooth is being enabled on the device. | btDeactivationInProgress | The Bluetooth is being disabled on the device. | btDisabled | The Bluetooth is disabled on the device. | btEnabled | The Bluetooth is enabled on the device. |
<Former status>: Integer constant Bluetooth activation status on the device before the change. This status corresponds to one of the following constants:
| | btActivationInProgress | The Bluetooth is being enabled on the device. | btDeactivationInProgress | The Bluetooth is being disabled on the device. | btDisabled | The Bluetooth is disabled on the device. | btEnabled | The Bluetooth is enabled on the device. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|