ArduPilot / SiK

Tools and firmware for the Si1000
BSD 2-Clause "Simplified" License
284 stars 232 forks source link

How to change default parameters #46

Open e135193 opened 6 years ago

e135193 commented 6 years ago

Hello,

I would like to change the factory default parameters. Are these the default parameters in the "parameters.c" file ?

__code const struct parameter_info { const char *name; param_t default_value; } parameter_info[PARAM_MAX] = { {"FORMAT", PARAM_FORMAT_CURRENT}, {"SERIAL_SPEED", 57}, // match APM default of 57600 {"AIR_SPEED", 64}, // relies on MAVLink flow control {"NETID", 25}, {"TXPOWER", 20}, {"ECC", 0}, {"MAVLINK", 1}, {"OPPRESEND", 0}, {"MIN_FREQ", 0}, {"MAX_FREQ", 0}, {"NUM_CHANNELS", 0}, {"DUTY_CYCLE", 100}, {"LBT_RSSI", 0}, {"MANCHESTER", 0}, {"RTSCTS", 0}, {"MAX_WINDOW", 131},

ifdef INCLUDE_AES

{"ENCRYPTION_LEVEL", 0}, // no Enycryption (0), 128 or 256 bit key

endif

};

VigibotDev commented 6 years ago

Yes you're right