Users Manual Instruction Manual
264
CATC BTTRAINER 2.11 CHAPTER
User’s Manual
Return value
• "Success"
• “Failure”
Comments
This command provides means to send an SDP request with a sequence of
bytes provided by the user. Allows the customization of SDP request to
send requests with invalid parameters.
The SDP request would be composed of the following fields:
PDU ID - as specified by the PduID parameter.
Transaction ID - Calculated internally by the system
Length - Calculated internally by the system.
Parameters - The data following the 5th byte is taken from the
'data_to_send' filed in the command.
Example
result = SDPGenericQuery(Device,
0xB8, 8,
'DD330BB01ABEF0123456789ABCDEF0123456789ABCDEF11111');
if (result != "Success")
{
Trace("SDPGenericQuery() - Failed. Result=", result,
"\n");
}
PduID PDU ID that
would be used
for the request
11 byte value
Size Number of
bytes to be
used from
’data.’
data_to_send Byte values to
be used for
constructing
the ASDP
request.
Hex values
Parameter Meaning Default Value Comments