Send Stats command.
- Parameters
-
| c | A pointer to yrmcds_cnt. |
| serial | A pointer to uint32_t, or NULL. |
- Returns
- 0 if succeeded. Other values indicate an error.
This function sends Stats command to the server. If serial is not NULL, the serial number of the request will be stored if the command was sent successfully.