3 posts / 0 new
Last post
roland
Offline
Last seen:4 months 5 days ago
加入:2014-01-21 14:45
Local name and DSPS app

Dear support,

This is probably a silly question, but I would like to change the name of the slave device when using the DSPS app under iOS.
I have changed every string with DA14850 I could find, however the "DA14850" or "DA14850-01" keeps appearing when scanning for devices.

所以我什么地方需要改变字符串with the device name in order to let it appear like "BANANA"

Made changes to DA14850_DSPS_3.150.2\dk_apps\keil+projects\SPS\SPS_DEVICE in

file: gapm.c
.GAP_DEV_NAME_VAR = "DA14580-01",
.GAP_DEV_NAME_VAR = "DA14581",
file: nvds.c
.NVDS_TAG_DEVICE_NAME = "DA1458x",
file: app_sps_device_project.h
#define APP_DFLT_DEVICE_NAME "DA14580 SPS"

But when loading it into the device it keeps showing DA14850.

Is the name coming from the OTP in the chip?

Best regards,

Roland

Keywords:
Device:
roland
Offline
Last seen:4 months 5 days ago
加入:2014-01-21 14:45
Addendum:

Addendum:
I did not see the name appear when using the basic kit.
I programmed a PAN1740 and there it was.. the name I have set in the APP_DFLT_DEVICE_NAME "DA14580 SPS" . Only the name was truncated to 9 chars (and I need 11).

R

YuanhangWu
Offline
Last seen:4 years 11 months ago
Expert
加入:2015-03-25 08:19
Hi, roland

Hi, roland

if you define READ_NVDS_STRUCT_FROM_OTP,you can not change the name.
Are you set like this?
#define READ_NVDS_STRUCT_FROM_OTP

thanks.