- Wed Oct 18, 2023 9:07 am
#244636
Okay, this is a little complicated to explain, but I've run into three Artemis units (2 independent units and one Artemis Nano), all purchased through Digikey, and they seem to all share one address of sorts.
Basically, when all three of them are turned on and advertising themselves, they muscle each-other out of the way in nRF connect and when I say to connect to one, it's completely random which one I connect to. What's more, while I'll be able to identify which Artemis I'm connected to based on an LED indicator and the unit's characteristics, it always has the incorrect name assigned to it. We discovered this while testing with four older Artemis units and what I'm talking about can be seen below.
Basically, when all three of them are turned on and advertising themselves, they muscle each-other out of the way in nRF connect and when I say to connect to one, it's completely random which one I connect to. What's more, while I'll be able to identify which Artemis I'm connected to based on an LED indicator and the unit's characteristics, it always has the incorrect name assigned to it. We discovered this while testing with four older Artemis units and what I'm talking about can be seen below.
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-66:77:88:23:bb:ef New Artemis NanoAs you can see, New Artemis Nano, New Artemis 1 and New Artemis 2 all share the same (MAC?) address. Is there anything I can do within the code to fix this, or am I stuck with these three (and possibly more) trying to muscle each other out of the way when they're active. The device I'm working on is meant to work in pairs connected to a central device, so it's not like I can just have one running at a time.
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-c0:07:e0:8d:20:44 Old Artemis 1
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-c0:87:d0:82:dd:04 Old Artemis 2
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-66:77:88:23:bb:ef New Artemis 1
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-66:77:88:23:bb:ef New Artemis 2
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-c0:5c:82:ea:d0:08 Old Artemis 3
BluetoothLE#BluetoothLE78:2b:46:0e:87:c8-c0:04:64:ea:b0:03 Old Artemis 4