add new command for nightsky device and fix frame compression