This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is it possible HID telephony command send over CC254x and proccessing support in Android or iOS?

Hello.

I tried to test telephony HID Command(0x0B)(Answer,,. Drop, Last Number Redial,..) over GATT Ble. I used SmartRF05 1.8.1 Development Kit and CC2540EM.

I have modified HIDEmukbd example(BLE-CC254x-1.4.0) for using consumer(0x0C) control.

consumer command work well but telephony command not.

modified descriptor as following(hidkbdservice.c) :

...............

 

 0x05, 0x0C,  // USAGE_PAGE (Consumer Devices)
   0x09, 0x01,  // USAGE (Consumer Control)
   0xA1, 0x01,  // COLLECTION (Application)
   0x85, 0x02,  //   REPORT_ID (2)
   0x75, 0x10,  // REPORT_SIZE (16)
   0x95, 0x01,  // REPORT_COUNT (1)
   0x15, 0x01,  // LOGICAL_MINIMUM (0)
   0x26, 0xFF, 0x02, // LOGICAL_MAXIMUM (1)
   0x19, 0x01,  // USAGE_MINIMUM (Consumer Control)
   0x2A, 0xFF, 0x02, // USAGE_MAXIMUM (Consumer Control)
   0x81, 0x60,  // INPUT (Data,Ary,Abs,NPrf,Null)

   0x05,0x0b,      /* USAGE_PAGE(Telephony Devices)*/
    0x19,0x01,      /* USAGE_MINIMUM(Phone)*/
    0x29,0xbf,      /* USAGE_MAXIMUM(Phone Key D)*/
    0x15,0x01,      /* LOGICAL_MINIMUM(1)*/
    0x26,0xbf,0x00, /* LOGICAL_MAXIMUM(191)*/
    0x75,0x08,      /* REPORT_SIZE(8)*/
    0x95,0x01,      /* REPORT_COUNT(1)*/
    0x81,0x22,      /* INPUT(Data,Var,Abs,NPrf)*/
                        
   0xC0

....

 

packet structure has 3byte(consumer 2byte + telephony 1byte) and i confirmed the packet was send.

consumer command works well(Volume up/down, ACC Home, Music Play/Pause,..), but do not show any telephony command response.

 

Question 1 : Telephony HID Command is not supported in BLE?

Question 2 : Telephony HID Command is not supported in android or iOS?

 

thank you for reading.