/* Remote device notification callback, invoked when a remote device sends a notification or indication that a client has registered for.  */
void btgattc_notify_callback(int conn_id, uint8_t *value, tls_bt_addr_t *bda, uint16_t handle, uint16_t len, uint8_t is_notify)
/* Remote device notification callback, invoked when a remote device sends a notification or indication that a client has registered for.  */
void btgattc_notify_callback(int conn_id, uint8_t *value, tls_bt_addr_t *bda, uint16_t handle, uint16_t len, uint8_t is_notify)
{
    int index = -1;
    index = get_app_env_index_by_conn_id(conn_id);
	if(index<0)
	{
		TLS_BT_APPL_TRACE_ERROR("%s, is_notify=%d, conn_id=%d,len=%d, handle=%d\r\n", __FUNCTION__, is_notify,  conn_id,len, handle);
		return;
	}
    TLS_HAL_CBACK(app_env[index].ps_callbak, notify_cb, conn_id, value, bda, handle, len, is_notify);
}