I have a RUTX10 that I am using to run our own application. This application (written in C and running on the OpenWRT environment) communicates with multiple BLE devices and reports back to our remote server via the local network.. In order to do this, I have setup a static IP address on the RUTX10 and a default gateway. This is all working fine. The problem I have is that I want to be able to connect the RUTX10 to a customer's LAN in such a way that it gets a DHCP IP address and gateway alloocated automatically so that it can just be plugged into the customers LAN and have internet access.without having to change any settings.
I also would like to enable the wifi to allow a mobile device to connect to the RUTX10 on a specific port to allow our custom status page to be displayed, but I don't want that mobile device to have access to the internet.
Do you have any suggestions for how I should set up the RUTX10 to achieve this ?