Chapter 17. Spread Spectrum Communication
(For models equipped with a spread spectrum wireless block)
427
Syntax:
CALL "SS.FN3" .fcSyncInf TIMEOUT%,ASSOC%
Description:
This function checks whether the wireless block is synchronized with the
master.
According to the timeout length specified by
TIMEOUT%
, the system oper-
ates as follows:
- If greater than zero (0) is specified to
TIMEOUT%
(recommended), this
program will check synchronization with the master during the specified
time. Upon completion of synchronization, the program will set zero (0)
to
ASSOC%
to end the checking operation.
If the wireless block fails to synchronize with the master within the spec-
ified time, the program will set -1 to
ASSOC%
to end the checking opera-
tion.
- If zero (0) is specified to
TIMEOUT%
, this function will check synchroni-
zation with the master and immediately return.
- If -1 is specified to
TIMEOUT%
, no timeout will occur so that this function
will wait until synchronization will be complete.
Parameters:
TIMEOUT%
Maximum period (unit: 100 ms) to wait for synchronization
with master
Returned value:
ASSOC%
Note:
The above parameter should be referred to after execution of
OPEN
"COM3:"
statement.
Run-time errors:
.fcSyncInf
Check wireless block synchronization with master
.ssNowInf
0
Synchronization with master com-
plete
.ssWtSync
-1
Failed to synchronize with master
Error code
Meaning
F0h
Mismatch parameter number
F1h
Mismatch parameter type
105h
Power-off detected
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...