beautypg.com

Hcireadbdaddr, Hcireadbuffersize, Hcireadbdaddr hcireadbuffersize – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 198

background image

180

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

HCIReadBDADDR

HCIReadBDADDR()

Return values

Returns a list with two values: status and address.

Status (element 0) is one of the following:

“Success”

“Failure”

Address (element 1) is the address of the local device.

Comments

This command is used to read the value for the BD_ADDR parameter. The
BD_ADDR is a 48-bit unique identifier for a Bluetooth device.

Example

LocalAddress = HCIReadBDADDR();

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

Trace("Local BDADDR:", LocalAddress[1], "\n");

HCIReadBufferSize

HCIReadBufferSize()

Return values

Returns a list with five values: status, ACL packet length, SCO packet
length, ACL number of packets,
and SCO number of packets.

Status (element 0) is one of the following:

“Success”

“Failure”

ACL packet length (element 1) is the two-byte value of the maximum
length (in bytes) of the data portion of each HCI ACL data packet that the
Host Controller is able to accept.

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A