I know this is an old question, but just in case it is still useful for someone. I wanted to know the IP address of the connected device (a Raspberry Pi Zero 2W) and I had to resort to write a python script on this client that sends me a WhatsApp message with its IP address as soon as it connects to the Android 14 hotspot. Later on I discovered that nmcli in a terminal application on my phone (ConnetBot) gives me the information I need.
Regards.