Dear Erel,
I want to make a sensor array with each sensor having its own ip and wifi where a wifi router is not available. Somewhere I got hold of a webpage which describes the process of changing default ip in AP mode but unfortunately I lost the link to that webpage . Shall try to find it again and post the c++ code here.
Thanks to all for directions to change the Default IP 192.168.4.1 to any desired IP in Access Point mode. I have succeeded.
BUT the idea needs to elaborate in detail which Erel told in the above quoted post #4.
I have some sensors/switches connected to ESP8266 and want to get data from them to single app or single ESP8266. It seems that Erel's idea is good but how it will implemented, needs a detail. Thanks.