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