#Base URL
http://192.168.1.254
GET / file management panel
all options follow the template:
/?custom=1&cmd={Command}&par={Option}
Command - setting/mode of the device
| #! /bin/sh | |
| # Set up a default search path | |
| PATH="/usr/bin:/bin" | |
| CURL=`which curl` | |
| if [ -z "$CURL" ]; then | |
| echo "curl not found" | |
| exit 1 | |
| fi |
| /** | |
| * This is called when your application is upgraded and it has a higher version number. This allows you to adjust the various data to | |
| * match the new version number. | |
| */ | |
| @Override | |
| public void onUpgrade(final SQLiteDatabase db, final ConnectionSource connectionSource, int oldVersion, final int newVersion) { | |
| Logger.i(LOG_TAG, "onUpgrade, oldVersion=[%s], newVersion=[%s]", oldVersion, newVersion); | |
| try { | |
| // Simply loop round until newest version has been reached and add the appropriate migration | |
| while (++oldVersion <= newVersion) { |