/* CLI command to get and display the optical paths mask.  */
int32_t cn0503_ratmask_get(struct cn0503_dev *dev, uint8_t *arg)
/* CLI command to get and display the optical paths mask.  */
int32_t cn0503_ratmask_get(struct cn0503_dev *dev, uint8_t *arg)
{
	uint8_t buff[20];
	sprintf((char *)buff, "%x", dev->ratmask);
	cli_write_string(dev->cli_handler, (uint8_t *)"RESP: RATMASK");
	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;
}