Registration, you silly
This commit is contained in:
@@ -86,7 +86,7 @@ void processRegisterFrame(uint8_t module, uint8_t * frame)
|
|||||||
if (memcmp(&frame[4], g_model.modelRegistrationID, PXX2_LEN_REGISTRATION_ID) == 0) {
|
if (memcmp(&frame[4], g_model.modelRegistrationID, PXX2_LEN_REGISTRATION_ID) == 0) {
|
||||||
reusableBuffer.modelsetup.pxx2_register_or_bind_step = REGISTER_OK;
|
reusableBuffer.modelsetup.pxx2_register_or_bind_step = REGISTER_OK;
|
||||||
moduleSettings[module].mode = MODULE_MODE_NORMAL;
|
moduleSettings[module].mode = MODULE_MODE_NORMAL;
|
||||||
POPUP_WARNING("Registration ok");
|
POPUP_WARNING(STR_REG_OK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -353,6 +353,7 @@ const char STR_MENUGLOBALVARS[] = TR_MENUGLOBALVARS;
|
|||||||
const char STR_RECEIVER_NUM[] = TR_RECEIVER_NUM;
|
const char STR_RECEIVER_NUM[] = TR_RECEIVER_NUM;
|
||||||
const char STR_RECEIVER[] = TR_RECEIVER;
|
const char STR_RECEIVER[] = TR_RECEIVER;
|
||||||
const char STR_REBIND[] = TR_REBIND;
|
const char STR_REBIND[] = TR_REBIND;
|
||||||
|
const char STR_REG_OK[] = TR_REG_OK;
|
||||||
const char STR_BIND_OK[] = TR_BIND_OK;
|
const char STR_BIND_OK[] = TR_BIND_OK;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -569,6 +569,7 @@ extern const char STR_SUBTYPE[];
|
|||||||
extern const char STR_RECEIVER_NUM[];
|
extern const char STR_RECEIVER_NUM[];
|
||||||
extern const char STR_RECEIVER[];
|
extern const char STR_RECEIVER[];
|
||||||
extern const char STR_REBIND[];
|
extern const char STR_REBIND[];
|
||||||
|
extern const char STR_REG_OK[];
|
||||||
extern const char STR_BIND_OK[];
|
extern const char STR_BIND_OK[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -775,6 +775,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING TR("Bind...","Binding")
|
#define TR_MODULE_BINDING TR("Bind...","Binding")
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -780,6 +780,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -778,6 +778,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING TR("Bind...","Binding")
|
#define TR_MODULE_BINDING TR("Bind...","Binding")
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -786,6 +786,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -778,6 +778,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -791,6 +791,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Binder d'abord"
|
#define TR_MODULE_WAITFORBIND "Binder d'abord"
|
||||||
#define TR_MODULE_BINDING "Bind..."
|
#define TR_MODULE_BINDING "Bind..."
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Télem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Télem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Télem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Télem OFF"
|
||||||
|
|||||||
@@ -780,6 +780,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -781,6 +781,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -781,6 +781,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -786,6 +786,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
@@ -794,6 +794,7 @@
|
|||||||
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
#define TR_MODULE_WAITFORBIND "Bind to load protocol"
|
||||||
#define TR_MODULE_BINDING "Binding"
|
#define TR_MODULE_BINDING "Binding"
|
||||||
#define TR_REBIND "Rebinding required"
|
#define TR_REBIND "Rebinding required"
|
||||||
|
#define TR_REG_OK "Registration ok"
|
||||||
#define TR_BIND_OK "Bind successful"
|
#define TR_BIND_OK "Bind successful"
|
||||||
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
#define TR_BINDING_CH1_8_TELEM_ON "Ch1-8 Telem ON"
|
||||||
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
#define TR_BINDING_CH1_8_TELEM_OFF "Ch1-8 Telem OFF"
|
||||||
|
|||||||
Reference in New Issue
Block a user