Ejemplo n.º 1
0
TI_STATUS TWD_writeMem (TI_HANDLE hTWD, TFwDebugParams* pMemDebug, void* fCb, TI_HANDLE hCb)
{
	if (hTWD == NULL || pMemDebug == NULL) {
		return (TI_NOK);
	}


	if (fwDbg_WriteAddr(((TTwd *)hTWD)->hFwDbg,pMemDebug->addr,pMemDebug->length,pMemDebug->UBuf.buf8,(TFwDubCallback)fCb,hCb) == TI_NOK) {
		WLAN_OS_REPORT(("TWD_writeMem Error: fwDbg_handleCommand failed\n"));
		return TI_NOK;
	}

	return(TI_OK);
}
Ejemplo n.º 2
0
TI_STATUS TWD_writeMem (TI_HANDLE hTWD, TFwDebugParams* pMemDebug, void* fCb, TI_HANDLE hCb)
{
    if (hTWD == NULL || pMemDebug == NULL)
    {
        return (TI_NOK);
    }


    if (fwDbg_WriteAddr(((TTwd *)hTWD)->hFwDbg,pMemDebug->addr,pMemDebug->length,pMemDebug->UBuf.buf8,(TFwDubCallback)fCb,hCb) == TI_NOK)
    {
        return TI_NOK;
    }

    return(TI_OK);
}