{ "title": "falldetector.basic", "description": "Simple fall detection device", "lang": "en", "documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/", "ref": "http://recherche.imt-atlantique.fr/xaal/documentation/falldetector.basic", "license": "Copyright Christophe Lohr IMT Atlantique 2019 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "basic.basic", "attributes": { "falls":"falls_t" }, "methods": { "get_attributes": { "description": "Return attributes of the device, i.e. 'falls'", "in": { "attributes":"attributes_t" }, "out": { "falls":"false_t" } } }, "notifications": { "attributes_change": { "description": "Report attributes that have changed", "out": { "falls":"false_t" } }, "alert": { "description": "Fall detection alert; repeated", "out": { "falls":"false_t" } } }, "datamodel": { "falls_t": { "description": "List of detected falls - List of objects {delay,zone,x,y} whose semantic is device-dependent; Each object means a fall; An empty object means a detecting fall with no additional info; An empty list means no detected fall.", "type": "data = [ * { ?\"delay\":#6.1(uint), ?\"zone\":tstr, ?\"x\":number, ?\"y\":number } ]" }, "attributes_t": { "description": "List of wanted attributes", "type": "data = [ ? \"falls\" ]" } } }