int mdg_device_unregist_channel(mdg_h handle, char *channel_id);
/* Client Side */
-//int mdg_device_get_channels(mdg_h handle, mdg_device_h device,
-// mdg_device_get_channels_cb get_channels_cb, void *user_data);
-
/**
* @brief Sends data to the remote device.
* @details We can send data to devices included in group.
unsigned char *data, int len,
mdg_device_send_data_finish_cb finish_cb, void *user_data);
+typedef void (*mdg_send_file_progress_cb)(const char *file_path, long send_size,
+ long total_size, int percent, void *user_data);
+typedef void (*mdg_send_file_finish_cb)(int result, mdg_device_h device, void *user_data);
+
+int mdg_device_send_file(mdg_h handle, mdg_device_h device, char *file_path,
+ mdg_send_file_progress_cb progress_cb, mdg_send_file_finish_cb finish_cb, void *user_data);
+
/**
* @}
*/