Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

why HID touch device can works on android but can't work on IOS?nRF52832 ,ble_app_hids_keyboard example,SDK 13.0.0,s132

hi,

I use 52832 to implement the HID touch device,It can works on android but can't works on IOS?why

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//my report descritor
static uint8_t report_map_data[] =
{
///µÚ1¸öµã
0x05, 0x0d, // USAGE_PAGE (Digitizers) ///global item
0x09, 0x04, // USAGE (Touch Screen) ///local item
0xa1, 0x01, // COLLECTION (Application) ///main item
0x85, 0x01, // REPORT_ID (Touch) ///local item ///report id ///data[0]
0x09, 0x22, // USAGE (Finger) ///local item ???
0xa1, 0x02, // COLLECTION (Logical) ///main item
0x09, 0x42, // USAGE (Tip Switch) ///local item tip switch ???
0x15, 0x00, // LOGICAL_MINIMUM (0) ///global item
0x25, 0x01, // LOGICAL_MAXIMUM (1) ///global item
0x75, 0x01, // REPORT_SIZE (1) ///global item
0x95, 0x01, // REPORT_COUNT (1) ///global item
0x81, 0x02, // INPUT (Data,Var,Abs) ///main item ///data[1]---bit1
0x09, 0x32, // USAGE (In Range) ///local item
0x81, 0x02, // INPUT (Data,Var,Abs) ///main item ///data[1]---bit2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parents
  • Hi,

    Are you sure the Digitizer usage page is supported by iOS? As far as I can see it is not mentioned in the Accessory Interface specification.

Reply
  • Hi,

    Are you sure the Digitizer usage page is supported by iOS? As far as I can see it is not mentioned in the Accessory Interface specification.

Children
  • i think it supports. 《MFi Accessory Interface Specification R18_NoRestriction》

    19.3.5.1 Digitizer Support (Touchscreen and Touchpad)
    A digitizer is a device that measures absolute spatial position, typically in two or more dimensions. CarPlay
    supports the following types of digitizers:
    19.3.5.1.1 Touchscreen
    A touchscreen is a digitizer with an integrated display that allows the use of a finger for direct interaction with
    a presented interface.

  • Table 19-45 Digitizer Support HID Usages
    Page ID Page Name Usage ID Usage Name Usage Type
    0x01 Generic 0x30 X Dynamic Value
    0x01 Generic 0x31 Y Dynamic Value
    0x0D Digitizer 0x04 Touch Screen Application Collection
    0x0D Digitizer 0x05 Touch Pad Application Collection
    0x0D Digitizer 0x22 Finger Logical Collection
    0x0D Digitizer 0x32 In Range Momentary Control
    0x0D Digitizer 0x33 Touch Momentary Control
    0x0D Digitizer 0x37 Data Valid Momentary Control
    0x0D Digitizer 0x38 Transducer Index Dynamic Value
    0x0D Digitizer 0x42 Tip Switch Momentary Control
    0x0D Digitizer 0x51 Contact Identifier Dynamic Value

  • That's strange. I can not find the word Digitizer anywhere in the current version, R30. But as you say it is in the carplay section of the old document. So I would guess it is supported by carplay, but not by iOS.

  • hi,my muti Multi Touch screen HID can works on IOS,but very strange,

  • Could it be that this is not under the general mfi agreement. i.e. that you need another agreement to access the spec relevant to iOS. Probably not since the carplay spec is there.

    Do you know if your multi touch screen HID is a BLE or Bluetooth classic device?