/* CLI command to get and display the output data rate.  */
int32_t cn0503_odr_get(struct cn0503_dev *dev, uint8_t *arg)
/* CLI command to get and display the output data rate.  */
int32_t cn0503_odr_get(struct cn0503_dev *dev, uint8_t *arg)
{
	uint8_t buff[20];
	sprintf((char *)buff, "%.5f", dev->odr);
	cli_write_string(dev->cli_handler, (uint8_t *)"RESP: ODR");
	cli_write_string(dev->cli_handler, (uint8_t *)"?=");
	cli_write_string(dev->cli_handler, buff);
	cli_write_string(dev->cli_handler, (uint8_t *)"\n");
	return SUCCESS;
}