Wiki

Clone wiki

Numera.LibrisAPI / event.Normal

Home > Event Dictionary > Normal

Normal

The "Normal" event contains the base information + location + event_data in its event data. When the event is created, the device also opens up a real time connection to the back-end which generates a rendezvous id and a ticket for the event. The data captured during the call is stored in a file and that is what is used to populate the event_data array, there is one entry for each file that contains data for the event. The structure of each object in the array is shown below.

FieldDescription
nameFriendly name for the file:
accel_3986698555.dat
format_versionInteger value for the file format version:
1
createdDate/Time the file was created formatted as a string:
2012-08-14T16:42:07.739000
keyNumera internal identifier for the file as a string:
502a7fdf2a76376afb000004
typeThe type of file as a string:
ACCL

The complete list of file types:

* ACCL - accelerometer data
* CSFD - classifier fall detection data set
* JPEG - image
sizeInteger representing number of bytes in the file:
9368

During a call, the device continually tries to update its location, which can result in updates to the location property and an event update being pushed to the partner. In addition, the address property on the location is updated at the time a better fix is obtained (satellite instead of network) or after a significant update to the location has occurred.

This event also contains information in the details object:

FieldDescription
battery_levelraw battery level from 0 to 100
battery_percentlevel converted into a percentage for a user

Updated