Research Article
AAL Middleware Infrastructure for Green Bed Activity Monitoring
Pseudocode 1
The crossbow exporter JSON descriptor file.
{ | "id":"crossbowIris", | "type":"exporter", | "description":"The exporter for Crossbow | Iris sensors", | "resources": | | {"deviceId":"Anchor1", "freq":"1"}, | {"deviceId":"Anchor2", "freq":"1"}, | {"deviceId":"Anchor3", "freq":"1"}. | {"deviceId":"Body1", "freq":"1"} | , | "getSamplingFrequency": | { | "type":"method", | "description":"GET method responsible | for obtaining the sampling frequency | of the transceivers", | "returns":"number", | "params":"" | }, | "setSamplingFrequency": | { | "type":"method", | "description":"SET method responsible | for obtaining the sampling frequency | of the transceivers", | "returns":"boolean", | "params":{"deviceId":{"type":"number"}, | "freq":{"type":"number" | }, | ⋯ | } |
|