ES Libraries Documentation

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

Bluetooth

The bluetooth sensor allows you to scan for nearby devices.

This sensor requires the Bluetooth and Bluetooth Admin permission. The JSON format for a sample from this sensor is:

{
	"userid":"user-id",
	"deviceid":"device-id",
	"senseStartTime":"13:33:29:698 30 06 2015 +0100 GMT+01:00",
	"senseStartTimeMillis":1435667609698,
	"dataType":"Bluetooth",
	"devices":
	[
		{
			"address":"the:device:address",
			"rssi":-78,
			"timeStamp":1435667612898
		},
		{
			"address":"the:device:address",
			"name":"the-device-name",
			"rssi":-57,
			"timeStamp":1435667621992
		}
	],
	"senseCycles":1
}