Settings

Pressing the Settings tab in the main AIRS view presents you with the options for configuring AIRS:

Pressing the General Settings entry will enable you to configure several options in the following preference screen. You can also display a brief description of each option when selecting the About menu item (press your Android Menu key):

For the remote sensing sessions, you can configure the following settings:

  • Server Name: this is the DNS name or IP address of your AIRS application server that is being used. Note that the server needs to be publicly accessible in order to be reachable by the AIRS mobile client
  • Server port: this is the port number being used by the AIRS application server (such as 9000)
  • Show Remote Tab: enable/disable the remote tab in the UI

For the local sensing sessions, you can configure the following settings:

  • Local Display: a local session always starts a background service that performs the sensing itself. Here you can configure whether or not the background service keeps track of the last value for each sensor being sensed. Otherwise, only the number of sensed values is kept. Battery-wise, there is hardly any impact when enabling this function – this is of course under the assumption that you are not displaying the values themselves, which DOES require additional battery.
  • Local Storage: AIRS can store the sensor values in a SQLlite database, which is more secure than individual text files. During the synchronization of the recordings, individual text files are created with a maximum file size being defined in the next setting. These files are stored in /AIRS_temp/ on the internal storage.
  • Recording File Size: defines the maximum file size for the temporary recording files created for synchronization. This is to accommodate possible limitations for certain sharing methods, e.g., via email.
  • Remove files: By default, the temporary files are removed after being synchronized. With this setting, these files can be kept for archiving.
  • Sensor History: AIRS supports displaying historical values of certain sensors, such as environmental noise, GPS coordinates or others. In this setting, you can set the number of values stored per sensor that supports such history. The default setting is 20, setting the value to 0 disables the history feature.
  • Wakeup: Android devices usually sleep when the screen switches off. This is to preserve battery. With this, however, AIRS will stop sensing most sensor values, too. This can be desired, i.e., in scenarios in which user activity is of interest, not the activity when the device is not used. IF you want to continuously sense values, you will need to keep the device awake (through a so-called wake-lock), which you can enable by this setting.
  • Battery Kill Condition: Allows for setting a battery level for killing AIRS recording (remote or local) in case that the battery falls below that value. This allows for saving spare capacity when you are out and about.

There are also general settings which apply for both remote and local sensing:

  • Reminder interval: AIRS can inform you about an ongoing sensing session through a brief vibration and/or LED notification (on supported devices only). Here, you select the interval for this vibration. If you select ’0′ as a value, the vibration is switched off. Note that you will always have a notification bar indication that AIRS is running!
  • Vibrate: check if you want a vibration reminder
  • Lights: check if you want a LED/light reminder
  • Color Code: color code in HEX notation (e.g., ff0000 for RED) for LED notification
  • Debug: AIRS debugs several parts of the program. Here you switch the debugging on and off. Debug messages will be stored in the main directory of the SD card under the file name AIRS_log.txt. Debugging will consume more battery and slightly slow down AIRS!

Handler Settings

In addition, some sensor handlers in AIRS might provide certain settings that can be configured. The list of the handlers that do provide such settings are shown below the General Settings entry.

There is a small help text provided with each handler setting. Currently, the following handler settings are provided:

Phone & System Sensors

The following settings are provided:

  • Orientation Interval: determines the polling interval for the orientation sensors azimuth, roll, and pitch
  • Proximity Interval: determines the polling interval for the proximity, barometer, and light sensors
  • System Poll Interval: determines the polling interval for the system sensors like RAM and task list

Location

The following settings are provided:

  • Enable GPS: decides whether or not the GPS sensors will appear in the discovery dialogue
  • Use Network Location: enables the use of Wifi and cell locations, which can save power if this information is available
  • GPS Interval: determines the GPS polling interval in seconds. If there is a change within the defined accuracy, values can be delivered earlier than defined (e.g., during driving at higher speed)
  • GPS Accuracy: determines the GPS accuracy in meters with which new values new should be reported. If there are no changes within the defined accuracy, no values are reported even if the interval exceeds.
  • AGPS Refresh Interval: on some phones, the ephemeral information for assisted GPS can be forced to be updated frequently. This increases accuracy in times when you travel larger distances as well as in adverse situations (e.g., cloudy). You can specify the interval for a refresh of this information here.
  • Enable Wifi: if Wifi is switched off when AIRS starts, this switch can have AIRS switch on Wifi for measurements. Otherwise, no Wifi sensors are provided.
  • Prevent Wifi sleep: this option sets a partial wake lock on the Wifi, preventing a Wifi sleep during the execution of NORS. Typically Wifi is switched off when the screen is off – this setting overrides this! BEWARE: preventing Wifi sleep will increase the battery usage!
  • Wifi Interval: determines the Wifi scanning interval – the shorter, the higher the battery usage due to the Wifi scan operation!

Local Weather

The following settings are provided:

  • Weather Interval: time between weather updates in minutes (less makes little sense)
  • GPS Accuracy: Update weather only when moved more than a given distance since the last weather update. The weather sensors automatically utilize Wifi and cell location since the accuracy can only be set above 1km (less makes little sense since no weather database has more fine grained detail). However, setting the value to zero always determines the weather at the given location, having moved or not!

This sensor uses the Google Weather API for your location. If there is no connectivity, the sensor does not perform location determination. If there is no connectivity for longer than the determined interval, the sensor sleeps and determines location and weather ca. 2 seconds after connectivity becomes available.

Audio Sampling

The following settings are provided:

  • Sampling rate: determines the rate with which the surrounding noise level is sampled – a selection of choices is provided.
  • Sampling Interval: determines the interval in seconds for repeating the measurements (a sampling lasts for about one second after which the sensor waits for the here defined seconds before sampling again).
  • Sound Pressure Adjustment: sets the adjustment being used for the sound pressure level measurement (AA sensor). This needs to be done based on a calibrated sound meter. Such adjustment is necessary due to the differences in hardware in each phone, such as microphone, DAC and others.

Proximity Sampling

The following settings are provided:

  • Enable BT: if Bluetooth is switched off when starting AIRS, it can be enabled by AIRS.
  • Ask before enabling: if Bluetooth is enabled by AIRS, you can select whether or not the user should be ask before.
  • BT discoverable: sets Bluetooth in discoverable mode – this will launch a user dialogue in which the user needs to confirm the setting.
  • Poll interval: determines the interval with which devices are scanned for.
  • Sampling rate: determines the sampling rate for the audio snippets that are recorded.

BEWARE: in many countries such recording requires the consent of everybody recorded, not only the ones being detected through their devices!!

Heart Monitor

The following settings are provided:

  • Enable Heartmonitor: enables the use of AliveTech heart monitor sensing. If enabled, the handler will try to connect to the chosen devices at startup – this can cause delays in the startup so ensure that the device is available!
  • Device selection: allows for selecting the heart monitor device being used. Due an issue with the AliveTech hardware, you will need to pair the device through the standard system settings. Here, you can then select any paired AliveTech monitors.

Heart Rate

The following settings are provided:

  • Adjustment value: allows for a constant value to be added to the measured heart rate value in order to adjust for any inaccuracies of the measurements
Note: in order to start the heart rate measurements, you will need to add the AIRS Heart rate widget to the launcher screen. It will open the measurement activity, asking you to click the Start button to start measuring via the camera. Hold you finger over the camera lens, also covering the flash light. The measured beats per minute will be shown in the window title bar. Press the Start button again for finishing the measurement.

BT Beacon

The following settings are provided:

  • Enable BT: if Bluetooth is switched off when starting AIRS, it can be enabled by AIRS.
  • Ask before enabling: if Bluetooth is enabled by AIRS, you can select whether or not the user should be ask before.
  • BT interval: the scan interval in seconds before starting another BT scan

Calendar (Current only configurable in Honeycomb and above!)

AIRS can watch calendar events from selected calendars. You can pick the wanted calendars from the list of all of your locally available ones.

Event Button

You can set the maximum number of event descriptions that AIRS will store when you annotate with the AIRS event button widget (sensor EB). You can also enable alphabetical sorting of the event descriptions after you press the Event widget during recording.

Media Folder Watcher

AIRS allows for watching the creation of various media files. Currently, the watching of camera, pictures, videos and music files is supported. In terms of configuration, the handler allows for enabling the various media types being watched. In addition, the user can configure the particular path being used for the watching for each particular type of media. The related recording (delivered as the MW sensor) will provide the media type as well as the file name that has been created.

Random Numbers

The random number generator only allows for setting the generation interval in seconds!

Leave a Reply