ES Libraries Documentation

Online documentation:
Home
What Sensor Data?
Collecting Sensor Data
Formatting Sensor Data
Store/Transfer Data
Research
Contributing
Project Github Page

Connection State

The connection state sensor retrieves information about the device's current connection.

This sensor requires permissions to access the WiFi and network states. The JSON format for a sample from this sensor is:

{
	"userid":"test-user-id",
	"deviceid":"test-device-id",
	"senseStartTime":"16:15:07:545 30 06 2015 +0100 GMT+01:00",
	"senseStartTimeMillis":1435677307545,
	"dataType":"ConnectionState",
	"connected":true,
	"connecting":true,
	"available":true,
	"networkType":"WIFI",
	"roaming":"NOT_ROAMING",
	"ssid":"..."
}