convert_cfg

Convert DynaFlex configuration file (xlsx) to binary or json. 
command line:
	convert_cfg filename [-t filetype]

File should be excel file (xlsx), json or binary. Target file type can be json or bin

# dependency
it needs 
   
1. OpenXLSX (processing xlsx  https://github.com/troldal/OpenXLSX)
   sudo apt install cmake
   git clone https://github.com/troldal/OpenXLSX
   cd OpenXLSX
   mkdir build
   cd build
   cmake ..
   cmake --build . --target OpenXLSX --config Release
   sudo cmake --install .

2. jsoncpp (processing json data)
   sudo apt install libjsoncpp-dev

3. openssl (hash)
   sudo apt install libssl-dev

4. mtusdk
   cp ..\mtusdk\libmtusdk.a .

# build
command :
  make

# run (need libmtmms.so)
sample command : convert and send configuration to usb:// (first usb device)
  ./convert_cfg CFG00001234.xlsx -d usb://
