I'm currently trying to integrate ANCS capabilities into my project. All I'm trying to do at this point is to send the proper advertisement packet. However, I can't even get the CC2540 to show in the bluetooth menu on the iPad I'm using (iOS8). I've seen similar issues here, but none of the fixes seem to work for me. Below are my settings:
static uint8 ANCSAdvData[] = { 0x02, // length of this data GAP_ADTYPE_FLAGS, DEFAULT_DISCOVERABLE_MODE | GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED, 0x11, // length of this data GAP_ADTYPE_SERVICES_LIST_128BIT, // some of the UUID's, but not all 0xD0, 0x00, 0x2D, 0x12, 0x1E, 0x4B,0x0F, 0xA4, 0x99, 0x4E, 0xCE, 0xB5,0x31, 0xF4, 0x05,0x79 // ANSC Primary Service UUID };
Any thoughts and advice are welcome.