Two BLE nrf5340 devices with two different names appearing as one in nrf Connect iOS app w/name rotating

I have a custom board with a nrf5340. I flashed two of them with two different names and opened up the nrf Connect app on iOS. I was expecting to see them side by side but I see what looks like a single device with the name switching back and forth.

Parents Reply
  • It was my mistake. I took this code from one of the DevAcademy lessons I think:




        bt_addr_le_t addr;
        err = bt_addr_le_from_str("FF:EE:DD:CC:BB:AA", "random", &addr);
    	if (err) {
    		LOG_ERR("Invalid BT address (err %d)", err);
            return err;
    	} else {
            LOG_DBG("BT address set");
        }
    
    
        err = bt_id_create(&addr, NULL);
    	if (err < 0) {
    		LOG_ERR("Creating new ID failed (err %d)", err);
            return err;
    	} else {
            LOG_DBG("New ID created with index %d", err);
        }

    I just commented it out and was fine.

Children
No Data
Related