Unfortunately, the device I need to communicate with is an access point and I can't connect it to company network (other subnet, other ssid, etc.. etc..). I need to connect iPhone directly to the network created by my device.
I can use terminal on the mac in order to send program to iphone if this helps