Added auto-detection of spy type enumerated or not and fix some other bugs
Added auto-detection of spy type enumerated or not and fix some other bugs

mklight/eCMD,open-power/eCMD,mklight/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD,mklight/eCMD,open-power/eCMD,mklight/eCMD,mklight/eCMD