CogniBoost/sw/libCogniBoost/cbLibDev.c
int cbClose(cbHnd_T hnd)
{
  CHK_DEV(hnd);

  SerDevClose(hnd->m_fd);

  LOGDIAG3("Closed device %d to %s.", hnd->m_fd, hnd->m_sDeviceName);

  cbDeviceDelete(hnd);

  return CB_OK;
}
/*!
 * \brief Close the CogniBoost device.
 *
 * The device handle is deallocated and is no longer valid.
 *  
 * \param hnd       CogniBoost device handle.
 *
 * \copydoc doc_std_return
 */
\brief Close the CogniBoost device.
The device handle is deallocated and is no longer valid.

\param hnd       CogniBoost device handle.


\ brief Close the CogniBoost device . The device handle is deallocated and is no longer valid . \ param hnd CogniBoost device handle .
int cbClose(cbHnd_T hnd)
{
  CHK_DEV(hnd);
  SerDevClose(hnd->m_fd);
  LOGDIAG3("Closed device %d to %s.", hnd->m_fd, hnd->m_sDeviceName);
  cbDeviceDelete(hnd);
  return CB_OK;
}
int cbClose ( cbHnd_T hnd ) { CHK_DEV ( hnd ) ; SerDevClose ( hnd -> m_fd ) ; LOGDIAG3 ( " " , hnd -> m_fd , hnd -> m_sDeviceName ) ; cbDeviceDelete ( hnd ) ; return CB_OK ; }
\brief Close the CogniBoost device.
\ brief Close the CogniBoost device .