use DPSP host modfiy DSPS DeiveName

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
alex.jian
Offline
Last seen:5 months 3 days ago
加入:2019-08-28 10:14
use DPSP host modfiy DSPS DeiveName

HI Dialog

i want to use DSPS host modfiy DSPS Device Name

我应该做些什么?

Modfiy GenericAccess UUID 0x1800

Device Name UUID 0x2A00

Device:
PM_Dialog
Offline
Last seen:3 days 4 hours ago
工作人员
加入:2018-02-08 11:03
Hi Alex,

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

alex.jian
Offline
Last seen:5 months 3 days ago
加入:2019-08-28 10:14
HI Dailog

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

PM_Dialog
Offline
Last seen:3 days 4 hours ago
工作人员
加入:2018-02-08 11:03
Hi Alex,

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