How to enable 'mobile search' command in Asterisk CLI?

*CLI> mobile search
No such command 'mobile search' (type 'core show help mobile search' for other possible commands)

Is there a connection between the following errors and the above scenario:

[root@Asterisk bluez-5.64]# make
make --no-print-directory all-am
  CC       profiles/input/bluetoothd-device.o
profiles/input/device.c: In function ‘uhid_send_get_report_reply’:
profiles/input/device.c:222:24: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
  if (size > sizeof(ev.u.get_report_reply.data))
                        ^
profiles/input/device.c:223:21: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
   size = sizeof(ev.u.get_report_reply.data);
                     ^
profiles/input/device.c:231:12: error: ‘UHID_GET_REPORT_REPLY’ undeclared (first use in this function)
  ev.type = UHID_GET_REPORT_REPLY;
            ^
profiles/input/device.c:231:12: note: each undeclared identifier is reported only once for each function it appears in
profiles/input/device.c:232:6: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
  ev.u.get_report_reply.id = id;
      ^
profiles/input/device.c:233:6: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
  ev.u.get_report_reply.err = err;
      ^
profiles/input/device.c:234:6: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
  ev.u.get_report_reply.size = size;
      ^
profiles/input/device.c:237:14: error: ‘union <anonymous>’ has no member named ‘get_report_reply’
   memcpy(ev.u.get_report_reply.data, data, size);
              ^
profiles/input/device.c: In function ‘uhid_send_set_report_reply’:
profiles/input/device.c:260:12: error: ‘UHID_SET_REPORT_REPLY’ undeclared (first use in this function)
  ev.type = UHID_SET_REPORT_REPLY;
            ^
profiles/input/device.c:261:6: error: ‘union <anonymous>’ has no member named ‘set_report_reply’
  ev.u.set_report_reply.id = id;
      ^
profiles/input/device.c:262:6: error: ‘union <anonymous>’ has no member named ‘set_report_reply’
  ev.u.set_report_reply.err = err;
      ^
profiles/input/device.c: In function ‘hidp_send_set_report’:
profiles/input/device.c:647:15: error: ‘union <anonymous>’ has no member named ‘set_report’
  switch (ev->u.set_report.rtype) {
               ^
In file included from profiles/input/device.c:33:0:
profiles/input/device.c:658:46: error: ‘union <anonymous>’ has no member named ‘set_report’
   DBG("Unsupported HID report type %u", ev->u.set_report.rtype);
                                              ^
./src/log.h:55:58: note: in definition of macro ‘DBG_IDX’
   btd_debug(idx, "%s:%s() " fmt, __FILE__, __func__ , ## arg); \
                                                          ^
profiles/input/device.c:658:3: note: in expansion of macro ‘DBG’
   DBG("Unsupported HID report type %u", ev->u.set_report.rtype);
   ^
profiles/input/device.c:664:41: error: ‘union <anonymous>’ has no member named ‘set_report’
   uhid_send_set_report_reply(idev, ev->u.set_report.id, EBUSY);
                                         ^
profiles/input/device.c:668:48: error: ‘union <anonymous>’ has no member named ‘set_report’
  sent = hidp_send_ctrl_message(idev, hdr, ev->u.set_report.data,
                                                ^
profiles/input/device.c:669:12: error: ‘union <anonymous>’ has no member named ‘set_report’
       ev->u.set_report.size);
            ^
profiles/input/device.c:675:30: error: ‘union <anonymous>’ has no member named ‘set_report’
   idev->report_rsp_id = ev->u.set_report.id;
                              ^
profiles/input/device.c:677:41: error: ‘union <anonymous>’ has no member named ‘set_report’
   uhid_send_set_report_reply(idev, ev->u.set_report.id, EIO);
                                         ^
profiles/input/device.c: In function ‘hidp_send_get_report’:
profiles/input/device.c:690:50: error: ‘union <anonymous>’ has no member named ‘get_report’
   uhid_send_get_report_reply(idev, NULL, 0, ev->u.get_report.id,
                                                  ^
profiles/input/device.c:696:15: error: ‘union <anonymous>’ has no member named ‘get_report’
  switch (ev->u.get_report.rtype) {
               ^
In file included from profiles/input/device.c:33:0:
profiles/input/device.c:707:46: error: ‘union <anonymous>’ has no member named ‘get_report’
   DBG("Unsupported HID report type %u", ev->u.get_report.rtype);
                                              ^
./src/log.h:55:58: note: in definition of macro ‘DBG_IDX’
   btd_debug(idx, "%s:%s() " fmt, __FILE__, __func__ , ## arg); \
                                                          ^
profiles/input/device.c:707:3: note: in expansion of macro ‘DBG’
   DBG("Unsupported HID report type %u", ev->u.get_report.rtype);
   ^
profiles/input/device.c:711:49: error: ‘union <anonymous>’ has no member named ‘get_report’
  sent = hidp_send_ctrl_message(idev, hdr, &ev->u.get_report.rnum,
                                                 ^
profiles/input/device.c:712:19: error: ‘union <anonymous>’ has no member named ‘get_report’
       sizeof(ev->u.get_report.rnum));
                   ^
profiles/input/device.c:719:30: error: ‘union <anonymous>’ has no member named ‘get_report’
   idev->report_rsp_id = ev->u.get_report.id;
                              ^
profiles/input/device.c:721:50: error: ‘union <anonymous>’ has no member named ‘get_report’
   uhid_send_get_report_reply(idev, NULL, 0, ev->u.get_report.id,
                                                  ^
profiles/input/device.c: In function ‘uhid_connadd’:
profiles/input/device.c:956:31: error: ‘UHID_GET_REPORT’ undeclared (first use in this function)
  bt_uhid_register(idev->uhid, UHID_GET_REPORT, hidp_send_get_report,
                               ^
profiles/input/device.c:958:31: error: ‘UHID_SET_REPORT’ undeclared (first use in this function)
  bt_uhid_register(idev->uhid, UHID_SET_REPORT, hidp_send_set_report,
                               ^
make[1]: *** [profiles/input/bluetoothd-device.o] Error 1
make: *** [all] Error 2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.