I think you can determine the address type yourself, which probably is what happens in the AP in a similar way. I found this reference, that has a table, explains there is required additional information, but if you check the vendor ID there is a very high probability to see if you have a public or private address.
The way how telemetry and bleData are processed are different, as that for telemetry the AP keeps a table and periodically sends out a summary of that. There probably is no store for the public/private bit there, which you may request as a feature request through Aruba Innovation Zone which is available to Partners and Aruba employees.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Apr 15, 2023 11:17 AM
From: wz2b
Subject: Address type in Reported messages?
Hi,
A BleData message includes a MAC address as well as the address type, which comes from the TxAdv/RxAdv field of the PDU. You see this decoded as a string named MacAddrType.
Beacons come through as a Reported message. This type includes the MAC but not the TxAdv/RxAdv field so it's not possible to tell the address type.
To work around this, I'm keeping my own cache of addresses seen in raw (BleData) messages and then when I get a beacon I do a lookup. This is not, however, safe, as I believe you could have the same address twice, one public and the other private/random. It's improbable but I think it could happen.
Update: this doesn't actually work, either, as you don't seem to get a BleData message for advertisements that were interpreted.
What I really want is to be able to get that TxAdv field from the PDU in a Reported message. Is this possible?
--Chris
This differs from a raw advertisement report, which is go type aruba_telemetry.BleData. That message type gives you an address type as one of its fields.