PX_CUST_REPLY
code: 487
# get
<module-index>/<port-index> PX_CUST_REPLY [<cdb_instance_index>] ?
Description
Defines the custom reply to receiver for the CDB instance.
Actions
get
Indices
cdb_instance_index
: integer, index of the CDB instance to access.
0
for CDB Instance 11
for CDB Instance 2
Parameters
cmd_data
: json, JSON formatted string containing the following fields:
{
"reply_status": {
"cdb_cmd_complete_flag": "0x00",
"cdb_status": "0x00",
},
"reply_header": {
"rpl_length": 9,
"rpl_check_code": 9
}
"reply_data": {
"data": "0x00"
}
}
where,
reply_status
: json, JSON formatted string containing the following fields: *cdb_cmd_complete_flag
: hex string, indicates whether the CDB command is complete. *cdb_status
: hex string, provides the status of the most recently triggered CDB command.reply_header
: json, JSON formatted string containing the following fields: *rpl_length
: integer, length of the reply data. *rpl_check_code
: integer, check code for the reply data.reply_data
: json, JSON formatted string containing the following fields: *data
: hex string, the actual data to be sent in the reply.
Example
# get
input: 0/0 PX_CUST_REPLY [0] ?
output: 0/0 PX_CUST_REPLY [0] {"reply_status": {"cdb_cmd_complete_flag": "0x00", "cdb_status": "0x00"}, "reply_header": {"rpl_length": 9, "rpl_check_code": 9}, "reply_data": {"data": "0x00"}}