hi i work with m66 bluetooth and I want to connect to a specific MAC address so i use"RIL_BT_SPP_DirectConn" but not work and and the module not work after i use this and i must restart the power…
how i use this function?and Where am I wrong?
if(0 == Ql_memcmp(m_RxBuf_Uart1,“direct”,6))
{
ret = RIL_BT_SPP_DirectConn("98E7F53FxxB0",BT_SPP_CONN_MODE_BUF,"123456");
if(RIL_AT_SUCCESS == ret)
{
APP_DEBUG("DirectConn successful.\r\n");
}
else
{
APP_DEBUG("DirectConn failed.\r\n");
}
break;
}