While usually some users ask if and how it is possible to get the IRK for an Apple device without a Mac, getting the actual Identity Bluetooth MAC address is an easy one, as it is visible on the device itself in the Settings, as described at
The reason it still might not work for you when entered into Theengs Gateway, is that the IRK you retrieved through ESPresense needs to be either reversed and/or converted to base64 to be correctly recognised, i. e. to be in the same formats when being looked up on a Mac.
Well, it didn’t really fully work, and random MAC address broadcasts will be picked up, but only with the Identity MAC stated and the IRK to resolve any broadcast random MAC address to then verify the result against the Identity MAC address makes it complete; to then be able to publish the received and resolved broadcasts under the always same Identity MAC/id.
This is also how you can verify if the IRK was reversed/converted correctly, when you see the correctly resolved messages in MQTT Explorer or some other MQTT monitoring application und the always sameIdentity MAC address.
It is working fine for me here, when I am testing it the other way around, with my base64 IRK from my Mac, converted to hex and then reversed - gives the same result as entering the base64 into the ESPresense converter. And using online converters to get it back to base64 brings me back to the original.
See the link above for the byte wise reversal, and then use this hex to base64 converter
But I also just tested it with only the reversed hex IRK, which also gets recognised correctly in Theengs Gateway.
Because you are actually the first person to come back with definite confirmation that an IRK retrieved by ESPresense, once reversed, is fully compatible
So far everyone we have suggested it to never got back with any confirmation or negative results.
Just for full confirmation, did you just use the reversed hex IRK or did you also additionally convert it to base64?
I honestly do not know, as I have never used the SNAP version of Theengs Gateway myself, but looking at the linked to SNAP documentation, do you see any identities entry in the configuration file at all, and how does it look?
I suppose we’ll have to look into extending the documentation with these new features, as well as brining the SNAPm version up to date.
Is Bluetooth turned on at all on your work iPhone SE? It could well be that Bluetooth is restricted through a work installed configuration profile.
And just for verification, did you also test the work iPhone SE with your previous setup, which I assume was not the SNAP version, where your other phone was correctly recognised and the random MAC resolved?
YES, that did the trick - it´s recognized as Apple iPhone/iPad and not changing anymore
Or have you tried that iPhone with the SNAP version as well? Just to confirm with a working setup before we try to find out the correct SNAP version definition format.