Hcireadpagescanperiodmode(), Hcireadpagetimeout() – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 208
192
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
Trace("Page scan mode is: 0x", result[1], "\n");
}
HCIReadPageScanPeriodMode()
HCIReadPageScanPeriodMode()
Return values
Returns a list with two values: status and page scan period mode.
Status (element 0) is one of the following:
•
“Success”
•
“Failure”
Page scan period mode (element 1) is the one-byte page scan period mode
value. (0=P0; 1=P1; 2=P2.)
Comments
Reads the page scan period mode value. Each time an inquiry response
message is sent, the Bluetooth device will start a timer, the value of which
depends on the page scan period mode.
Example
result = HCIReadPageScanPeriodMode();
Trace("HCIReadPageScanPeriodMode returned: ", result[0],
"\n");
if (result[0] == "Success")
{
Trace("Page scan period mode is: 0x", result[1], "\n");
}
HCIReadPageTimeout()
HCIReadPageTimeout()
Return values
Returns a list with two values: status and page timeout.
Status (element 0) is one of the following:
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
N/A