Chapter 18. Bluetooth
501
Example:
Transmit a message and wait for completion of the transmission
PRINT #4, "1234567890" ' Transmit data
TIMEA = 50 ' Transmission timeout: 5 seconds
SLOOP% = 1
WHILE TIMEA<>0 AND SLOOP% = 1 ' Wait for transmission completion
' or timeout
CALL "BT.FN3" .fcBTChkSnd STATUS%
IF STATUS% = 0 THEN
SLOOP% = 0
ENDIF
WEND
Comentarios a estos manuales