extend-exclude = []
[default.extend-words]
+mosquitto = "mosquitto"
%description
nnstreamer-edge provides remote source nodes for NNStreamer pipelines without GStreamer dependencies.
-It also contains communicaton library for sharing server node information & status.
+It also contains communication library for sharing server node information & status.
%package devel
Summary: development package for nnstreamer-edge
0 == strcasecmp (value, "TCP-SECURE")) {
ah->protocol = AITT_TYPE_TCP_SECURE;
} else {
- nns_edge_logw ("Invalid AITT procotol. Please check the value: %s",
+ nns_edge_logw ("Invalid AITT protocol. Please check the value: %s",
value);
}
} else {
#define NNS_EDGE_DATA_KEY (0xeddaedda)
/**
- * @brief Internal data structure for the header of the serialzied edge data.
+ * @brief Internal data structure for the header of the serialized edge data.
*/
typedef struct
{
}
/**
- * @brief Internal wrapper function of the nns_edge_data_destory() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
+ * @brief Internal wrapper function of the nns_edge_data_destroy() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
*/
void
nns_edge_data_release_handle (void *data)
if (data_h) {
if (NNS_EDGE_ERROR_NONE != nns_edge_data_destroy (data_h))
- nns_edge_logw ("Failed to destory the nns-edge data handle.");
+ nns_edge_logw ("Failed to destroy the nns-edge data handle.");
}
}
#endif /* __cplusplus */
/**
- * @brief Internal wrapper function of the nns_edge_data_destory() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
+ * @brief Internal wrapper function of the nns_edge_data_destroy() to avoid build warning of the incompatibe type casting. (See nns_edge_data_destroy_cb())
*/
void nns_edge_data_release_handle (void *data);
return NNS_EDGE_ERROR_OUT_OF_MEMORY;
}
- /** Create message receving thread */
+ /** Create message receiving thread */
thread_data->eh = eh;
thread_data->conn = conn;
thread_data->client_id = client_id;
SAFE_FREE (msg);
if (NNS_EDGE_ERROR_NONE != ret) {
- nns_edge_loge ("Failed to publish the meesage to broker.");
+ nns_edge_loge ("Failed to publish the message to broker.");
goto done;
}
} else {
}
/**
- * @brief Start subsciption to MQTT message
+ * @brief Start subscription to MQTT message
*/
static int
_nns_edge_start_mqtt_sub (nns_edge_handle_s * eh)
}
/**
- * @brief Send data to desination (broker or connected node), asynchronously.
+ * @brief Send data to destination (broker or connected node), asynchronously.
*/
int
nns_edge_send (nns_edge_h edge_h, nns_edge_data_h data_h)
bool nns_edge_mqtt_is_connected (nns_edge_broker_h broker_h);
/**
- * @brief Get message from mqtt broker with within timeout. (0 for inifinite timeout)
+ * @brief Get message from mqtt broker with within timeout. (0 for infinite timeout)
*/
int nns_edge_mqtt_get_message (nns_edge_broker_h broker_h, void **msg, nns_size_t *msg_len, unsigned int timeout);
/**
- * @brief Serialzie and deserialize the edge-data.
+ * @brief Serialize and deserialize the edge-data.
*/
TEST(edgeDataSerialize, normal)
{