beautypg.com

Hcicatcwriteencryptionkeysize, Hcicatcwritelinkkeytype – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 183

background image

165

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Example

Main()

{

Device = '008037163567';

result = HCICatcTimingAccuracyRequest(Device);

Trace("HCICatcTimingAccuracyRequest: ", result, "\n");

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

{

Trace("Drift: ",result[1], " (ppm)\n");

Trace("Jitter: ",result[2], " (ppm)\n");

}

return result;

}

HCICatcWriteEncryptionKeySize

HCICatcWriteEncryptionKeySize(KeySize)

Return value

Returns a list with two values: status and KeySize

Status (element 0) is one of the following:

"Success"

"Failure"

"Invalid Parameter"

Comments

Write the size of the encryption key that is going to be used during an
encryption process

Example

KeySize = 7;

result = HCICatcWriteEncryptionKeySize (KeySize);

Trace(result);

HCICatcWriteLinkKeyType

HCICatcWriteLinkKeyType(KeyType)

Parameter

Meaning

Default Value

Comments

KeySize

Value can be from 1 to 16

Parameter

Meaning

Default Value

Comments

KeyType

Can be:"Combinational" or "Unit"