I try to understand csd data port using.
I think I find an error in examples, in remote_terminal.c, in SendString function.
while ( ( StringCopy = wm_lstGetItem ( StringList, RT_ZERO ) ) != NULL )
sReturn = adl_fcmSendDataExt ( V24Handle, BlockToSend );
if ( ADL_FCM_RET_OK_WAIT_RESUME == sReturn )
FCMIsReady = FALSE;
I think it is more correct to write in so manner:
while ( ( ( StringCopy = wm_lstGetItem ( StringList, RT_ZERO ) ) != NULL ) &&( FCMIsReady != FALSE ))
Am I right ?