Extracting individual address from group address in BLE Mesh

Hello,

I am trying to understand 2 things:

  1. How is a group address formed or assigned to a group of BLE Mesh devices in nCS.?
  2. How to extract individual device addresses from a group address on BLE Mesh in nCS.?

Thanks,