|
@@ -171,11 +171,16 @@ static bool pocsag_decode_message_word(SubGhzProtocolDecoderPocsag* instance, ui
|
|
|
// Function called when current message got decoded, but other messages might follow
|
|
// Function called when current message got decoded, but other messages might follow
|
|
|
static void pocsag_message_done(SubGhzProtocolDecoderPocsag* instance) {
|
|
static void pocsag_message_done(SubGhzProtocolDecoderPocsag* instance) {
|
|
|
// append the message to the long-term storage string
|
|
// append the message to the long-term storage string
|
|
|
- furi_string_printf(instance->generic.result_ric, "\e#RIC: %" PRIu32 "\e# | ", instance->ric);
|
|
|
|
|
|
|
+ furi_string_printf(
|
|
|
|
|
+ instance->generic.result_ric,
|
|
|
|
|
+ "[P%lu]\e#RIC: %" PRIu32 "\e# | ",
|
|
|
|
|
+ instance->version,
|
|
|
|
|
+ instance->ric);
|
|
|
furi_string_cat_str(instance->generic.result_ric, func_msg[instance->func]);
|
|
furi_string_cat_str(instance->generic.result_ric, func_msg[instance->func]);
|
|
|
if(instance->func != POCSAG_FUNC_ALERT1) {
|
|
if(instance->func != POCSAG_FUNC_ALERT1) {
|
|
|
furi_string_cat(instance->done_msg, instance->msg);
|
|
furi_string_cat(instance->done_msg, instance->msg);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
furi_string_cat_str(instance->done_msg, " ");
|
|
furi_string_cat_str(instance->done_msg, " ");
|
|
|
|
|
|
|
|
furi_string_cat(instance->generic.result_msg, instance->done_msg);
|
|
furi_string_cat(instance->generic.result_msg, instance->done_msg);
|