#include "cacommon.h"
#include "cathreadpool.h"
-#include "uarraylist.h"
#include "caedrinterface.h"
#include "jni.h"
* Add device object to the list.
* @param[in] state connection state object.
*/
-void CAEDRNativeAddDeviceStateToList(state_t *state);
+void CAEDRNativeAddDeviceStateToList(CAConnectedDeviceInfo_t *state);
/**
* Check whether the device exist in the list or not.
*/
uint32_t CAEDRGetSocketListLength();
+/**
+ * Get device information from list.
+ * @param[in] remoteAddress remote address.
+ * @return Device information object or NULL.
+ */
+CAConnectedDeviceInfo_t *CAEDRGetDeviceInfoFromAddress(const char *remoteAddress);
+
#ifdef __cplusplus
} /* extern "C" */
#endif