telefonicaid / lightweightm2m-iotagent

IoT Agent accepting COAP requests. Designed to be a bridge between the OMA Lightweight M2M protocol and the NGSI interface.
https://fiware-iotagent-lwm2m.rtfd.io/
GNU Affero General Public License v3.0
24 stars 30 forks source link

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

Open loretrisolini opened 9 years ago

loretrisolini commented 9 years ago

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

dmoranj commented 9 years ago

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).