/* TEL0026 role mode set. 
This function is to set TEL0026 working role mode. */
tBtResult BTDeviceRoleSet(char cRoleMode)
/* TEL0026 role mode set. 
This function is to set TEL0026 working role mode. */
tBtResult BTDeviceRoleSet(char cRoleMode)
{
	char cTmp[2];
	cTmp[0] = cRoleMode;
	cTmp[1] = 0;
	s_cCmdBuffer[0] = 0;
	ClearRecBuf();
	StrCat(s_cCmdBuffer, BtCmdRoleSet);
	StrCat(s_cCmdBuffer, cTmp);
	BTSendCmdString(s_cCmdBuffer);
	return (BTGetResponse());
}