I have installed the DM server and it is up and running.Also added couple of device details via koneki simulator.
Now i want to use one of the j2se client to connect and pull data from DM server.
I am struck on this part.Any code sample ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually, there is an OMA-DM client underneath the Koneki simulator that you might want to reuse!
You can grab the source code from the GitHub mirrors of the OMA-DM simulator: here and here
org.eclipse.koneki.simulators.omadmis used to run a new OMA-DM session. Look for therun()method in the classorg.eclipse.koneki.simulators.omadm.basic.DMBasicSimulationorg.eclipse.koneki.protocols.omadmdefines the object model used during a simulation.org.eclipse.koneki.protocols.omadm.client(the most interesting for you) manages all the messages that are exchanged between a client (e.g. the simulator) and a server. Look for theorg.eclipse.koneki.protocols.omadm.client.basic.DMBasicSessionclass.You should stop by the Koneki forum if you have any further questions (and I am sure you will!)