Change device name

Hello Nordic Engineer,

I know that I can modify #define DEVICE_NAME "device001" in sdk_config.h, but it takes a lot of time to compile and flash the program every time. It seems like there should be another way to quickly solve this.

【1】Is it possible to modify it through the iOS nRF Connect app, but with a prerequisite? Do I need to add some code in the 52811 program? (My product uses nRF52811)

【2】Can it be solved through the command line with J-Link? But I've never used the command line before...

【3】Are there any other methods? I just want to solve the problem quickly, and I don't mind how many methods there are.

Thanks

  • Hello,

    tony55723 said:
    The device number is assigned according to the quantity ordered by the customer. For example, if 100 units are ordered today, the numbers will be from 1 to 100. If 200 units are ordered tomorrow, the numbers will be from 101 to 300.

    Thank you for clarifying. Does the numbers need to be sequential and in order? If not then you could perhaps instead base them on a permutation of the device ID in the FICR register instead.
    If they do need to be sequential, how will a device know which number it is?

    tony55723 said:
    Thank you very much. In the infocenter you provided, I found examples\peripheral\flash_fstorage. Later, I will try to implement the write flash function.

    Great, I am happy to hear that you found it helpful! Please do not hesitate to open another ticket if you should have any issues or questions to the flash storage usage or samples.

    Best regards,
    Karl

  • Hello Ylvisaker ,

    Is sequential, the numbers are only used for production, actual connection relies on UUID filtering.

    Please do not hesitate to open another ticket if you should have any issues or questions to the flash storage usage or samples.

    OK, Thank you

Related