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.

LAUNCHXL-CC1352P: Relationship of device information service and complete local name advertisement

Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC1352P

Can i remove the device information service and keep the complete local name advertising and scan response?

After i commented out the device information add service command (see code snippet), i couldn't anymore see the complete local name on my phone with neither TI Starter nor LightBlue, only the two letter short name.

How these two are related?

static void SimplePeripheral_init(void)
{
  . . .
  // Initialize GATT attributes
  GGS_AddService(GAP_SERVICE);                 // GAP GATT Service
  GATTServApp_AddService(GATT_ALL_SERVICES);   // GATT Service
  //DevInfo_AddService();                        // Device Information Service
  SimpleProfile_AddService(GATT_ALL_SERVICES); // Simple GATT Profile
  . . .
}

Simple peripheral example program. CCS Version: 11.1.0.000. SimpleLink CC13xx CC26xx SDK (5.40.00.40).

Cheers