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 (https://github.com/telefonicaid/lightweightm2m-iotagent).
I have a problem with the communication between client and Iot Agent.
I start the Context Broker and Iot Agent with the respective 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 previously map the client in the Iot Agent.