• Hi Gordon, thanks again for you support. I have only limited time today. Only, if you have time.
    I am looking forward for your expert statement.

    >requestsNew()
    =undefined
    >
     
    ] "\r\n" <--- "\r\n"
    10.228.192.245
     
    ] "10.228.192.245\r\n" <--- "10.228.192.245\r\n"
    {
      "host": "api.carriots.com",
      "path": "/streams/?_t=str&device=Commander@afitterling.afitterling",
      "port": "80",
      "method": "GET",
      "headers": {
        "Content-Type": "application/json",
        "carriots.apiKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "Content-Length": 0 }
     } null
    ["AT+CIPSTART=0,\"TCP\",\"api.carriots.com\",80\r\n"
    >
    OK
    ] "\r\nOK\r\n" <--- "\r\nOK\r\n"
    >
    0, CONNEC
    ] "\r\n0, CONNEC" <--- "\r\n0, CONNEC"
    T OK
    ] "0, CONNECT OK\r\n" <--- "T OK\r\n"
    >
    >
    ] "\r\n> " <--- "\r\n> "
    >
    0, SEND O
    ] "\r\n0, SEND O" <--- "\r\n0, SEND O"
    K
    ] "0, SEND OK\r\n" <--- "K\r\n"
    >
    +RECEIVE,
    ] "\r\n+RECEIVE," <--- "\r\n+RECEIVE,"
    DEBUG: +RECEIVE,
    0,1380:
    HTTP/1.1 200 OK
    Date: Fri, 29 Jul 2016 07:46:50 GMT
    Content-Type: application/vnd.carriots.v2+json; charset=utf-8
    Connection: cl
    ] "+RECEIVE,0,1380:\r\nHTTP/1.1 200 OK\r\nDate: Fri, 29 Jul 2016 07:46:50 GMT\r\nContent-Type: application/vnd.carriots.v2+json; charset=utf-8\r\nConnection: cl" <--- "0,1380:\r\nHTTP/1.1 200 OK\r\nDate: Fri, 29 Jul 2016 07:46:50 GMT\r\nContent-Type: application/vnd.carriots.v2+json; charset=utf-8\r\nConnection: cl"
    DEBUG: +RECEIVE,0,1380:
    HTTP/1.1 200 OK
    Date: Fri, 29 Jul 2016 07:46:50 GMT
    Content-Type: application/vnd.carriots.v2+json; charset=utf-8
    Connection: cl
    ose
    Server: Carriots REST API
    Cache-Control: no-cache
    Allow: GET, POST
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Credentials: true
    Access-Control-Expose-Headers: Date,Server,Allow,Connection,Content-Length,Content-Type,Cache-Control
    {"total_documents":3,"result":[{"_id":"579b07af5c5d750a2e53769a","protocol":"v2","checksum":"","_
    ] "+D,0,1249:ose\r\nServer: Carriots REST API\r\nCache-Control: no-cache\r\nAllow: GET, POST\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Credentials: true\r\nAccess-Control-Expose-Headers: Date,Server,Allow,Connection,Content-Length,Content-Type,Cache-Control\r\n\r\n{\"total_documents\":3,\"result\":[{\"_id\":\"579b07af5c5d750a2e53769a\",\"protocol\":\"v2\",\"checksum\":\"\",\"_" <--- "ose\r\nServer: Carriots REST API\r\nCache-Control: no-cache\r\nAllow: GET, POST\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Credentials: true\r\nAccess-Control-Expose-Headers: Date,Server,Allow,Connection,Content-Length,Content-Type,Cache-Control\r\n\r\n{\"total_documents\":3,\"result\":[{\"_id\":\"579b07af5c5d750a2e53769a\",\"protocol\":\"v2\",\"checksum\":\"\",\"_"
    t":"str","at":1469777839,"device":"Commander@afitterling.afitterling","data":{"This":"Is a JSON example","Carriots":{"text":"Hello World","number":123,"cool":true}},"id_developer":"20bab0871682e6f1f2724a2753a83c3b959af6088165e2abf88dfa045ebac8a0@afitterling.afitterling","created_at":1469777839,"owner":"afitterling"},{"_id":"579b07b85c5d75792d5376c2","protocol":"v2","checksum":"","_t":"str","at":1469777848,"device":"Commander@afitterling.afitterling","data":{"This":"Is a JSON example","Carriots":{"texfitterli
    ] "+D,0,900:t\":\"str\",\"at\":1469777839,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"text\":\"Hello World\",\"number\":123,\"cool\":true}},\"id_developer\":\"20bab0871682e6f1f2724a2753a83c3b959af6088165e2abf88dfa045ebac8a0@afitterling.afitterling\",\"created_at\":1469777839,\"owner\":\"afitterling\"},{\"_id\":\"579b07b85c5d75792d5376c2\",\"protocol\":\"v2\",\"checksum\":\"\",\"_t\":\"str\",\"at\":1469777848,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"texfitterli" <--- "t\":\"str\",\"at\":1469777839,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"text\":\"Hello World\",\"number\":123,\"cool\":true}},\"id_developer\":\"20bab0871682e6f1f2724a2753a83c3b959af6088165e2abf88dfa045ebac8a0@afitterling.afitterling\",\"created_at\":1469777839,\"owner\":\"afitterling\"},{\"_id\":\"579b07b85c5d75792d5376c2\",\"protocol\":\"v2\",\"checksum\":\"\",\"_t\":\"str\",\"at\":1469777848,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"texfitterli"
    ng"},{"_id":"579b093a5c5d750a2e5376bc","protocol":"v2","checksum":"","_t":"str","at":1469778234,"device":"Commander@afitterling.afitterling","data":{"This":"Is a JSON example","Carriots":{"text":"Hello W
    +RECEIVE,0,187:
    orld","number":123,"cool":true}},"id_developer":"4aaed914017f667ecf933be52e147111d3b0b12460c7eff8d41e35b6164b31c6@afitterling.afitterling","created_at":1469778234,"owner":"afitterling"}]}
    ] "+D,0,387:ng\"},{\"_id\":\"579b093a5c5d750a2e5376bc\",\"protocol\":\"v2\",\"checksum\":\"\",\"_t\":\"str\",\"at\":1469778234,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"text\":\"Hello W\r\n+RECEIVE,0,187:\r\norld\",\"number\":123,\"cool\":true}},\"id_developer\":\"4aaed914017f667ecf933be52e147111d3b0b12460c7eff8d41e35b6164b31c6@afitterling.afitterling\",\"created_at\":1469778234,\"owner\":\"afitterling\"}]}" <--- "ng\"},{\"_id\":\"579b093a5c5d750a2e5376bc\",\"protocol\":\"v2\",\"checksum\":\"\",\"_t\":\"str\",\"at\":1469778234,\"device\":\"Commander@afitterling.afitterling\",\"data\":{\"This\":\"Is a JSON example\",\"Carriots\":{\"text\":\"Hello W\r\n+RECEIVE,0,187:\r\norld\",\"number\":123,\"cool\":true}},\"id_developer\":\"4aaed914017f667ecf933be52e147111d3b0b12460c7eff8d41e35b6164b31c6@afitterling.afitterling\",\"created_at\":1469778234,\"owner\":\"afitterling\"}]}"
    >
    0, CL
    ] "wner\":\"afitterling\"}]}\r\n0, CL" <--- "\r\n0, CL"
    OSED
    ] "0, CLOSED\r\n" <--- "OSED\r\n"
    Uncaught Error: Field or method "total_documents" does not already exist, and can't create it on undefined
     at line 1 col 614
    ..."Carriots":{"texfitterling"},{"_id":"579b093a5c5d750a2e5376b...
                                  ^
    in function called from system
     at line 208 col 33
                    total_docs: data.total_documents
                                    ^
    in function called from system
    >E.getErrorFlags()
    =[
      "FIFO_FULL"
     ]
    > 
    
About

Avatar for sp33c @sp33c started