/* Application CLI prompt at the beginning of the program.  */
int32_t cn0503_prompt(struct cn0503_dev *dev)
/* Application CLI prompt at the beginning of the program.  */
int32_t cn0503_prompt(struct cn0503_dev *dev)
{
	uint8_t buff[20];
	int32_t ret;
	uint16_t data;
	ret = adpd410x_reg_read(dev->adpd4100_handler, ADPD410X_REG_CHIP_ID,
				&data);
	if(ret != SUCCESS)
		return FAILURE;
	data &= BITM_CHIP_ID;
	itoa(data, (char *)buff, 16);
	return cli_cmd_prompt(dev->cli_handler, buff);
}