diff --git a/RemoteIDModule/board_config.h b/RemoteIDModule/board_config.h index 8107b5a..1070732 100644 --- a/RemoteIDModule/board_config.h +++ b/RemoteIDModule/board_config.h @@ -162,6 +162,7 @@ #define PIN_CAN_TERM GPIO_NUM_37 #define CAN_TERM_EN LOW +#define CAN_APP_NODE_NAME "net.cuav.c-rid" #else #error "unsupported board" diff --git a/RemoteIDModule/parameters.cpp b/RemoteIDModule/parameters.cpp index b28a986..9acd4ab 100644 --- a/RemoteIDModule/parameters.cpp +++ b/RemoteIDModule/parameters.cpp @@ -363,6 +363,8 @@ void Parameters::init(void) set_by_name_char64("PUBLIC_KEY2", ROMFS::find_string("public_keys/ArduPilot_public_key2.dat")); #if defined(BOARD_BLUEMARK_DB200) || defined(BOARD_BLUEMARK_DB110) || defined(BOARD_BLUEMARK_DB202) || defined(BOARD_BLUEMARK_DB210) || defined(BOARD_BLUEMARK_DB203) set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/BlueMark_public_key1.dat")); +#elif defined(BOARD_CUAV_RID) + set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/CUAV_public_key1.dat")); #else set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/ArduPilot_public_key3.dat")); #endif diff --git a/RemoteIDModule/public_keys/CUAV_public_key1.dat b/RemoteIDModule/public_keys/CUAV_public_key1.dat new file mode 100644 index 0000000..aa973e9 --- /dev/null +++ b/RemoteIDModule/public_keys/CUAV_public_key1.dat @@ -0,0 +1 @@ +PUBLIC_KEYV1:0vyB2NZwkrkLowmtXNU28Wt9JcwBPy8C9q5UvRKJAvE=