This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

有没有办法改变CC2540的蓝牙地址

Other Parts Discussed in Thread: CC2540

在做一个项目,需要更改CC2540的蓝牙地址,请问有没有什么办法可以更改。如果有,那具体要怎么改?

  • 摘录:

    Every CC2540/41 device comes pre-programmed with a unique 48-bit IEEE address. This is referred to as
    the device’s “primary address”, and cannot be changed. It is also possible to set a “secondary address” on
    a device, which will override the primary address upon power-up. Flash Programmer can be used to read
    the primary address, as well as to read or write the secondary address.
    To read the primary address of a device connected to the CC Debugger, select “Primary” under the
    “Location” option, and click the “Read IEEE” button. The primary device address should appear in the box
    on the right as shown in Figure 48.

    To read the secondary address, select “Secondary” under the “Location” option, and click the “Read IEEE”
    button. The secondary device address should appear in the box on the right.
    To set a new secondary address, select “Secondary” under the “Location” option, and enter the desired
    address in the box on the right. Click the “Write IEEE” button to perform the write. If the secondary
    device is set to “FF FF FF FF FF FF”, the device will use the primary address. If the secondary device is set
    to anything else, the secondary address will be used.

  • 非常感谢,这个PDF有看过一遍,后面忘记了。这个可以改,还挺简单。还好有你,要不然,看多久Datasheet都找不出改地址的方法,万分感谢呀。

  • 非常感谢,这个PDF有看过一遍,后面忘记了。这个可以改,还挺简单。还好有你,要不然,看多久Datasheet都找不出改地址的方法,万分感谢呀。

  • secondary address 可不可以在程序中修改呢?