Skip to content

Instantly share code, notes, and snippets.

@andriyadi
Created October 9, 2016 18:09
Show Gist options
  • Save andriyadi/f15d29a9e135abe188e9b3a039ec1d2e to your computer and use it in GitHub Desktop.
Save andriyadi/f15d29a9e135abe188e9b3a039ec1d2e to your computer and use it in GitHub Desktop.
Samsung Artik Cloud - Scenario sample for publishing data using Device Simulator
{
"period": 1000,
"data": {
"fallDetected": false,
"heartRate": 0,
"temp": 0,
"timestamp": 0
},
"sdid": "3c85aeff55b245139ad3f0b9b327a351",
"api": "POST",
"config": {
"fallDetected": {"function":"cycle", "type":"Boolean", "value":[true, false]},
"heartRate": {"function":"random", "type":"Integer", "min":70,"max":90},
"temp": {"function":"random", "type":"Integer", "min":35,"max":40},
"timestamp": {"function":"increment", "type":"Integer", "min":1476033885, "max":1476043885, "increment":1, "period":1000}
},
"deviceToken": ""
}
@sovat784
Copy link

-->

declaration of the XSD namespace is almost certainly not
a valid schema document. -->

**
  <!-- #all or space-separated list drawn from derivationChoice -->
  <!-- #all or space-separated list drawn from
                  derivationChoice + 'substitution' -->

%xs-datatypes;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment