I have come across a peculiar issue when using the above. Here is my set-up: Rpi3/Dvap (uhf)/DStarCommander v2.1/iPhone v10.2.1/ID51E+ I have the wi-fi configured as 1=iPhone, 2=Home Wi-Fi, 3=OPEN. Config is set to try No. 1 first. I switch on the personal hotspot (called G4MHJ) on the iPhone, then switch on the Rpi3 set-up. It never finds the iPhone hotspot and proceeds as it should do to my home wi-fi here at home. If I am away from home nothing connects. I have however, discovered a work around that always works but it is annoying to have to do this. I set up the iPhone personal hotspot and do a trial connect with either my iPad Air 2 or an older iPod Touch. The iPhone shows I am using one connection and when I switch on the Rpi3 it shows 2 connections and the system works great. Surely I shouldn't have to go through this procedure.. Am I doing something wrong?
When you want to connect to the IPhone before you start the Raspberry Pi always go to settings, then personal hotspot and leave that screen open on your iPhone, start the Pi and let it connect. Once at the top of the screen you see your hotspot connected to the IPhone, then you can close the screen.
I had that issue with my iPhone 6. I discovered that the normal Apple naming convention for the hotspot, in my case "Don's iPhone", was the issue. The Pi didn't like the apostrophe. I renamed it to "Wilbanks iPhone" (no apostrophe) and it connects up easily now. Also, the iPhone only beacons for a short time so I only turn my hotspot on when I'm ready to connect the Pi to it.