# DeviceAtlas Connectivity Analyser #
The DeviceAtlas Connectivity Analyser is used to measure the round trip time when
sending a payload of a fixed size to a client. This measures a combination of
latency and bandwidth. The measured time is then used to categorize the
client's current connection into low, medium or high.
### Dependencies ###
This library depends on the following third party libraries:
* SLF4J (Simple Logging Facade for Java) - v1.7.2 -- http://www.slf4j.org/
### Usage ###
1. Include ConnectivityAnalyser_1.1.jar inside your web application
2. In your web.xml, include the fo1lowing:
```java
ConnectivityAnalyser
mobi.mtld.connectivityanalyser.filter.ConnectivityAnalyser
...
(Optional please read below about options for more details)
frequency
10
...
ConnectivityAnalyser
...
```
Please see the example application for more detail.
### Options ###
* payload
- The amount of data to send to the client as part of the bandwidth
measurement. Defaults to 1KB.
* frequency
- Defines how often to re-measure the connectivity analyser for a given
user. If this is set to 1 then the network performance is checked on
every request. If it is greater than 1 the network performance is
only checked every X requests and the previous values are returned
until X requests is reached.
* lowquality/midquality
- The thresholds to define the low and mid tiers. The threshold is
defined in ms. Everything faster than the mid threshold is
classified as high quality.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_(c) 2021 DeviceAtlas Limited. All rights reserved. https://deviceatlas.com _