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

Problem with the communication between client and Iot Agent. #133

Closed Army96 closed 6 years ago

Army96 commented 6 years ago

Hi there, in these days my teacher gives me to develop a system which uses these components: -Lwm2m client (developed with leshan lib in java); -Fiware Context Broker (Orion); -Lwm2m-Iot Agent. I don't know if i can ask here, however, I have a problem with the communication between client and Iot Agent. I start the Context Broker and Iot Agent with the rispective line commands and then i try to execute the code of client from Eclipse but it doesn't speak with the Iot Agent (listening on that port 5684). The Iot Agent doesn't give me any error while the client says "Unable to connect to any server, next try in ...". Primarily, i d'like to ask if what i'm trying to do is possible. Second, if it is possible, i d'like to ask if this problem is due to a bad Iot Agent configuration (i mean the file config.js) or to the necessity to "to previously map the client in the Iot Agent. Thanks you for your time.

fgalan commented 6 years ago

I think it should be better to ask that question using StackOverflow. Repository issues are more related with bugs and issues clear traceability to the sofware, while your question seems to be more related with some configuration aspect.

In that sense, could you ask using https://stackoverflow.com/questions/ask ? Please, add "fiware" label in your question. Once done, please add the link to the question as a comment in this issue, then close the issue.

Thanks!

Army96 commented 6 years ago

https://stackoverflow.com/questions/52480253/problem-with-the-communication-between-lwm2m-client-and-iot-agent