An approach to symmetric spaces of rank one via groups of Heisenberg type