Support and future development of simple app for the proof of concept project
There is a user device which is capable of talking to internet. It needs to be able to send parameters and alarms to user’s phone. Right now we have 3 pieces of software
1) Firmware of the device (no firmware development is required, device can be easily simulated by PC)
2) PHP server running on the internet server
3) App (for iPhone and Android)
I have source code for PHP, iPhone and Android. Current PHP server runs on [login to view URL] and should not be disturbed. In the scope of the project it is required to create second instance of the server also on [login to view URL] (you’ll be provided with credentials) and upload/modify PHP code. It is also required to build apps for android and iPhone from source code with small modifications.
Communication between device and PHP server
Below are two examples of commands which can be sent from device to PHP server
command=update_device;device_id=id1;ip=[login to view URL];
- Here we tell server that device with ip [login to view URL] would have id=”id1”. Server saves that id.
- Here we tell PHP server that we want to send parameters from our device to the phone and also set alarm ON. After receiving such notification phone should start ringing. If it is in quite mode it should turn sound on and start ringing.
App acts like a client communicating with outside world using HTTP and sockets. In short it reads parameter from server and sends responses when needed.
App will consist of two pages. Setup page and user interface page. On setup page user will specify “IP address” and “port”. It will also have indicators called “connection” and “Server ID” and button called “Check ID”.
On main page there will be indicators called “connection”, “Alarm” and button called “Abort”,
App will try to establish connection to the specified IP address on the local network. If connection can’t be established it will retry in 5 seconds.
After connection is established app starts to monitor socket. Server will be sending data in ASCII formatted strings. For example server will send
“;” is delimeter
If parameter1 is above 50 (values will be from 0 to 100) or we received “alarm=1” app will make iPhone ring (if not in quite mode) and vibrate (similar to how phone rings and vibrates when it receives calls). “Alarm” indicator should also become red. Notification will be shown to the user if app is not on the foreground. User can press “Abort” button which will make phone stop ringing and it will send “abort” to the server. Indicator “Alarm” should become grey.
When user presses “Check ID” on the setup page application sends it’s IP and MAC addresses and then wait for response from tester response is displayed in “Server ID”.
Parameters must be saved so that when users close and open app again they don’t have to enter IP and port again.
App should be functional but there is no need to make UI look good.
App must work for iPhone 5S and up and for Android 23 and up. Source code will be required. It will be compiled on my side using mac with High Sierra OS and Xcode 9.2 and Android Studio 3
11 freelancere byder i gennemsnit $196 på dette job
Hello we are a team of Android , iOS and PHP experts we can do this job easily and quickly, lets discuss it further and we can start the developement Regards Huzefa