# Reset the Network Packet Count
This API can be used to reset the network packet count of the receivers connected to a specified network port.
# Request Path
{CLTPlatform-ip}:8086/receiver/resetNetworkPacket
- Replace
{CLTPlatform-ip}
with the corresponding IP address. - The request port is
8086
.
# Protocol
HTTP
# Method
POST
# Request Parameters
- Set the
Content-Type
of the request body toapplication/json
.
Parameter Name | Description | Required | Type | Data Dictionary | Restriction | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | [string] | receiver/resetNetworkPacket | ||
data | Data | Yes | [object] | |||
data>>senderIndex | Sender index (starting from 0, -1 for all senders) | Yes | [int] | 0 | ||
data>>portIndex | Network port index (starting from 0, -1 for all network ports) | Yes | [int] | 0 |
# Request Example
{
"command": "receiver/resetNetworkPacket",
"data": {
"senderIndex": 0,
"portIndex": 0
}
}
# Response
Parameter Name | Description | Required | Type | Data Dictionary | Restriction | Example |
---|---|---|---|---|---|---|
command | Command type | Yes | [string] | receiver/resetNetworkPacket | ||
code | Status code | Yes | [int] | 20000 | ||
message | Message | Yes | [string] | Common_Success | ||
data | Data | Yes | [object] |
# Response Example
{
"command": "receiver/resetNetworkPacket",
"code": 20000,
"message": "Common_Success",
"data": {}
}