char *address = NULL;
companion_device_h device = NULL;
- if (my_devices_list) {
- device = g_list_nth_data(my_devices_list, idx - 1);
+ if (found_device_list) {
+ device = g_list_nth_data(found_device_list, idx - 1);
if (NULL == device) {
msgr("Find my device first");
return RET_FAILURE;
static int run_send_data(MManager *mm, struct menu_data *menu)
{
int idx = 0;
- int count = g_list_length(my_devices_list);
+ int count = g_list_length(found_device_list);
if (0 >= count ) {
msgr("No Device");
{
int count = 0;
- count = g_list_length(my_devices_list);
+ count = g_list_length(found_device_list);
if (0 >= count ) {
msgr("No Device");