HI Dialog
i want to use DSPS host modfiy DSPS Device Name
我应该做些什么?
Modfiy GenericAccess UUID 0x1800
Device Name UUID 0x2A00
Hi Alex,
Please check USER_DEVICE_NAME definition in the user_config.h file. The default device name is the "SPS_531_HOST" – you can change it!
Thanks, PM_Dialog
HI Dailog
thank for answer
but i want change "DeviceName Value(UUID:0x1800Device Name UUID 0x2A00 )" when host connect device
how can i use gattc write value to device??
for example
GenericAccess UUID 0x1800
Device Name UUID 0x2A00 Value:abc
change to below(Host write value to devicename for modfiy Devicename)
Device Name UUID 0x2A00 Value:abc1234
This is a characteristic ( ATT_CHAR_DEVICE_NAME = 0x2A00 ) and is mandatory item in the generic access service ( ATT_SVC_GENERIC_ACCESS = 0x1800 ). The GAP layer gets the USER_DEVICE_NAME from user_config.h. Why you need to do this?
Hi Alex,
Please check USER_DEVICE_NAME definition in the user_config.h file. The default device name is the "SPS_531_HOST" – you can change it!
Thanks, PM_Dialog
HI Dailog
thank for answer
but i want change "DeviceName Value(UUID:0x1800Device Name UUID 0x2A00 )" when host connect device
how can i use gattc write value to device??
for example
GenericAccess UUID 0x1800
Device Name UUID 0x2A00 Value:abc
change to below(Host write value to devicename for modfiy Devicename)
GenericAccess UUID 0x1800
Device Name UUID 0x2A00 Value:abc1234
Hi Alex,
This is a characteristic ( ATT_CHAR_DEVICE_NAME = 0x2A00 ) and is mandatory item in the generic access service ( ATT_SVC_GENERIC_ACCESS = 0x1800 ). The GAP layer gets the USER_DEVICE_NAME from user_config.h. Why you need to do this?
Thanks, PM_Dialog