Skip to content
andrearanalli edited this page Jul 29, 2014 · 2 revisions

This WIKI is under construction and it will be periodically updated based on the user's questions

  • Why the JavaGAL bundle does not start with the parameters set in config.properties (/src/main/resources/)?

In JEMMA there is a mechanism called "Not Volatile Memory" (NVM) that allows to restore a previously created ZigBee network, in order to avoid to re-install every time all the nodes connected to the gateway. Thus, the first time that the framework is launched, a fresh new network is created (Association mode), and thus the parameters defined in config.properties will be used. At the same time, a new file, called "it.telecomitalia.ah.zigbee.properties", is created and stored in a local path defined in the launch configuration, parameter "-Dosgi.instance.area=file:C:\PATH". Thanks to this file, everytime the framework will be launched, JEMMA will check the presence of this file to understand if the gateway shall be launched in NVM mode or in Association mode. P.s: Please also note that the [PATH] location above described is also used to store temporary information like the measurements collected by the hac client when the sever platform is down.

  • How to configure Ecplipse for remote debugging?

If you wish to see all the printed log coming from a remote gateway (e.g. a FlexGateway) you should download the "mToolKit" plugin available just by browsing the Eclipse procedure for upgrade the software. Then you can connect to the IP address of the gateway by creating a new 'framework'. Once connected, pressing to "Show Console" will allow you to see all the logs. In order to let this procedure work, it is important that no firewall are running on the gateway side, and that the OSGi framework has correctly installed the iagent.rpc.jar bundle.

Clone this wiki locally