This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I want to change the BLE address.

I use it. nRF52832 PCA10040 Vesion12.2.0

I am working on the ble_app_uart example as a base.

I used the sd_ble_gap_addr_set command to change the BLE address but it was not possible.

What should I do?

Parents
  • ble_gap_addr_t p_addr; p_addr.addr_id_peer = 1; p_addr.addr_type = 7; p_addr.addr[0] = 0xb4; p_addr.addr[1] = 0x39; p_addr.addr[2] = 0x34; p_addr.addr[3] = 0x00; p_addr.addr[4] = 0x00; p_addr.addr[5] = 0x71;

    ble_stack_init();   
        	
        **err_code = sd_ble_gap_addr_set(&p_addr);**
        	
    gap_params_init();
    services_init();
    advertising_init();
    conn_params_init();
    

    Can I do this at this location?

    Is there a mistake in this address?

    The error code is 12802.

    Can you represent the minimum requirements in bytes? ex) 0x00 0x01 0xf0 0x01 0x01 0x01

Reply
  • ble_gap_addr_t p_addr; p_addr.addr_id_peer = 1; p_addr.addr_type = 7; p_addr.addr[0] = 0xb4; p_addr.addr[1] = 0x39; p_addr.addr[2] = 0x34; p_addr.addr[3] = 0x00; p_addr.addr[4] = 0x00; p_addr.addr[5] = 0x71;

    ble_stack_init();   
        	
        **err_code = sd_ble_gap_addr_set(&p_addr);**
        	
    gap_params_init();
    services_init();
    advertising_init();
    conn_params_init();
    

    Can I do this at this location?

    Is there a mistake in this address?

    The error code is 12802.

    Can you represent the minimum requirements in bytes? ex) 0x00 0x01 0xf0 0x01 0x01 0x01

Children
No Data
Related