lightweightm2m-iotagent icon indicating copy to clipboard operation
lightweightm2m-iotagent copied to clipboard

communication between iot-agent and latest version of iot-discovery

Open loretrisolini opened this issue 10 years ago • 1 comments

can this prototype of the iot-agent communicates without any problem with the latest version of the iot-discovery? The ContextBroker, in case of correct operation, uses this status statement: .... "statusCode": { "code": "200", "reasonPhrase": "OK" } .....

instead the latest version of the iot-discovery response in case of correct operation is:

..... errorCode: { code: 200 reasonPhrase: "OK" details: "Stored" } .....

is this difference a problem when the iot-agent communicates with the iot-discovery?

Best regards, Lorenzo Trisolini

loretrisolini avatar Jun 30 '15 17:06 loretrisolini

I'm afraid none of the IoT Agents has been currently tested against the IoT Discovery GE. The GE used as a reference for the NGSI Protocol has always been the Orion Context Broker. I suppose in the future we can expect a convergence in this area (but I don't know wether it will be via a modification on any of those components or by allowing the two response flavours).

dmoranj avatar Oct 05 '15 07:10 dmoranj