beautypg.com

Hcireadpagescanactivity, Hcireadpagescanmode – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 211

background image

193

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

HCIReadPageScanActivity

HCIReadPageScanActivity()

Return values

Returns a list with three values: status, PageScanInterval, PageScanWin-
dow.

Status (element 0) is one of the following:

"Success"

"Failure"

PageScanInterval (element 1) and PageScanWindow (element 2) are the
two byte values.

Comments

This command will read the value for Page_Scan_Activity configuration
parameter. The Page_Scan_Interval configuration parameter defines the
amount of time between consecutive page scans. This is defined as the time
interval from when the Host Controller started its last page scan until it
begins the next page scan.

The Page_Scan_Window configuration parameter defines the amount of
time for the duration of the page scan. The Page_Scan_Window can only
be less than or equal to the Page_Scan_Interval.

Example

result = HCIReadPageScanActivity();

Trace("HCIReadPageScanActivity returned: ", result[0],

"\n");

if (result[0] == "Success")

{

Trace("PageScanInterval is: 0x", result[1], "\n");

Trace("PageScanWindow is : 0x", result[2], "\n");

}

HCIReadPageScanMode

HCIReadPageScanMode()

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A