• Amazinly doing so.. it seems to works! I just put the max=1 param out. As of today a collection length of >3 broke that.
    @Gordon To the FIFO issue.... may it be a wrong canditate. I was noticing, the E.getErrorStats always returns FIFO_full on any request. But it is going to be erased later on.
    Anyway the SIM900 driver is of really great help!

    >  $http({
    :      host: 'api.carriots.com',
    :      path: '/streams/',
    :      port: '80',
    :      method: 'GET',
    :      params: {
    :        _t: 'str',
    :        device: 'Commander@afitterling.afitterling',
    :        max: 10
    :      }
    :    }).then(function(res){ a=res})
    {
      "host": "api.carriots.com",
      "path": "/streams/?_t=str&device=Commander@afitt­erling.afitterling&max=10",
      "port": "80",
      "method": "GET",
      "headers": {
        "Content-Type": "application/json",
        "carriots.apiKey": "xxxxxxxxx",
        "Content-Length": 0 }
     } null
    ={  }
    >
    >
    OK
    >
    0, CONNECT OK
    >
    >
    >
    >
    0, SEND OK
    >
    +
    RECEIVE,0,1380:
    HTTP/1.1 200 OK
    Dat
    e: Fri, 29 Jul 2016 20:55:58 GMT
    Content-Type: applicatio
    n/vnd.carriots.v2+json; charset=utf-8
    Conne
    ction: close
    Server: Carriots REST API
    Ca
    che-Control: no-cache
    Allow: GET, POST
    Access-Con
    trol-Allow-Origin: *
    Access-Control-Allow-Credentia
    ls: true
    Access-Control-Expose-Headers: Dat
    e,Server,Allow,Connection,Content-Length­,Con
    tent-Type,Cache-Control
    {"total_do
    cuments":6,"result":[{"_id":"579bc2385c5­d75660953772e","protocol
    ":"v2","checksum":"","_t":"str","at":1
    469825592,"device":"Commander@afitterl
    ing.afitterling","data":{"This":"Is a JSO
    N example","Carriots":{"text":"Hello World"
    ,"number":123,"cool":true}},"id_develope­r":"8c19
    07cf2402f422b64069832d07aa47276a6414fd4f­dcf558a96f6a9
    13c0a14@afitterling.afitterling","create­d_at":1469825592,"o
    wner":"afitterling"},{"_id":"579bc2435c5­d75a007537738","protocol":"v2
    ","checksum":"","_t":"str","at":14698256­03,"device":"Commander@afitterling.afitt­
    erling","data":{"This":"Is a JSON example","Carriots":{"text":"Hello World","number":123,"cool":
    true}},"id_developer":"d98688e13aae2861b­e6dd0bed33ba44f4d9171dfbe90d4ed64f5c091b­b624cf4@afitterling.afitterling","crea
    ted_at":1469825603,"owner":"afitterling"­},{"_id":"579bc24c5c5d755102537814","pro­tocol":"v2","checksum":"","_t":"str","at­":1469825612,"device":"Commande
    r@afitterling.afitterling","data":{"This­":"Is a JSON example","Carriots":{"text":"Hello W
    +RECEIVE,0,1339:
    orld","number":123,"cool":true}},"id_dev­eloper":"6ddc5cab0331a2505419eb9d08afd74­e2c31cc35c4
    185d6e7de98f89b0655aed@afitterling.afitt­erling","created_at":1469825612,"owner":­"afitterling"},{"_id":"579bc2bc5c5d751b7­e537889","protocol":"v2","checksum":"","­_t":"str","at":1469825724,"device":"Comm­ander@afitterling.afitterling","data":{"­This":"Is a JSON example","Carriots":{"text":"Hello Wor
    ld","number":123,"cool":true}},"id_devel­oper":"c1564b155fa18858c1f608f4db64f359e­6539d
    ec9789d51f14576c2819b6788e@afitterling.a­fitterling","created_at":1469825724,"own­er":
    "afitterling"},{"_id":"579bc2c75c5d75d90­8537723","protocol":"v2","checksum":"","­_t":"str","at":1469
    825735,"device":"Commander@afitterling.a­fitterling","data":{"This":"Is a JSON example","Carriots":{"text":"Hello World","n
    umber":123,"cool":true}},"id_developer":­"0a1e227e3914808240d4b29385fcc426f8dca23­5cce0295db059e41433a81a8a@afitterling.af­itterling","created_at":1469825735,"o
    wner":"afitterling"},{"_id":"579bc2d25c5­d75f87f537843","protocol":"v2","checksum­":"","_t":"str","at":1469825746,"device"­:"Commander@afitterling.afitterling","da­ta":{"This":"Is a JSON example","Carriots":{"text
    ":"Hello World","number":123,"cool":true}},"id_de­veloper":"e148352107e64d155ed2f32511afb1­97717f9d1f0e3e537773d0376ec1d0fec6@afitt­erling.afitterling","created_at":1469825­746,"owner":"afitterling"}]}
    >
    0
    , CLOSED
    >a
    ={ "total_documents": 6,
      "result": [
        {
          "_id": "579bc2385c5d75660953772e",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825592,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "8c1907cf2402f422b" ... "rling.afitterling",
          "created_at": 1469825592,
          "owner": "afitterling"
         },
        {
          "_id": "579bc2435c5d75a007537738",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825603,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "d98688e13aae2861b" ... "rling.afitterling",
          "created_at": 1469825603,
          "owner": "afitterling"
         },
        {
          "_id": "579bc24c5c5d755102537814",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825612,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "6ddc5cab0331a2505" ... "rling.afitterling",
          "created_at": 1469825612,
          "owner": "afitterling"
         },
        {
          "_id": "579bc2bc5c5d751b7e537889",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825724,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "c1564b155fa18858c" ... "rling.afitterling",
          "created_at": 1469825724,
          "owner": "afitterling"
         },
        {
          "_id": "579bc2c75c5d75d908537723",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825735,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "0a1e227e391480824" ... "rling.afitterling",
          "created_at": 1469825735,
          "owner": "afitterling"
         },
        {
          "_id": "579bc2d25c5d75f87f537843",
          "protocol": "v2",
          "checksum": "",
          "_t": "str",
          "at": 1469825746,
          "device": "Commander@afitterling.afitterling",
          "data": {
    "This": "Is a JSON example",
    "Carriots": {
      "text": "Hello World",
      "number": 123, "cool": true }
           },
          "id_developer": "e148352107e64d155" ... "rling.afitterling",
          "created_at": 1469825746,
          "owner": "afitterling"
         }
       ]
     }
    > 
    
About

Avatar for sp33c @sp33c started