Upload the configuration descriptor to the server
To upload the descriptor file to the Remote Manager server, you must use a special tool along with the descriptor file itself. Both components are part of the cc_dey repository:
- The tool used to upload the descriptor file is named ConfigGenerator and is only available in source code under cc_dey/library/src/cc_api/source/cc_ansic/tools/config folder. You must have ant and java installed in your system in order to compile and run it.
- The descriptor file is a plain text document named config.rci located within the cc_dey/library/src folder. If you need to modify this file, see Create and modify descriptors.
Follow these steps to upload the descriptor file to your Remote Manager account:
- Clone the cc_dey repository by issuing this command:
git clone --recursive http://github.com/digi-embedded/cc_dey.git tags/dey-2.0-r5
- Compile the ConfigGenerator tool by issuing this command:
ant -f <cc_dey_folder>/library/src/cc_api/source/cc_ansic/tools/config/build.xmlThe resulting artifact is located here: <cc_dey_folder>/library/src/cc_api/source/cc_ansic/tools/config/dist/ConfigGenerator.jar.
- Upload the descriptor by issuing this command:
java -jar <cc_dey_folder>/library/src/cc_api/source/cc_ansic/tools/config/dist/ConfigGenerator.jar -vendor=<VENDOR_ID> <username>:<password> "<DEVICE_TYPE>" <FW_VERSION> <cc_dey_folder>/library/src/config.rciIn this command:
- <VENDOR_ID> is your device's configured vendor ID.
- <username> is your Remote Manager account user name.
- <password> is your Remote Manager account password.
- <DEVICE_TYPE> is your device's configured device type.
- <FW_VERSION> is your device's configured firmware version in the form of X.X.X.X (e.g. 0.0.0.1)
When you connect your device to the Remote Manager server again, the remote configuration options and groups are properly displayed in the page when using the new vendor ID, device type, and firmware version settings.