Skip to content

Commit

Permalink
add at listing in publisher and recipient table
Browse files Browse the repository at this point in the history
  • Loading branch information
WAvdBeek committed Oct 26, 2023
1 parent 8a465c7 commit 7960bd5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions knx_iot_virtual_pb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ void MyFrame::OnPublisherTable(wxCommandEvent& event)
sprintf(line, " path: '%s' ", oc_string(entry->path));
strcat(text, line);
}
if (oc_string_len(entry->at) > 0){
sprintf(line, " at: '%s' ", oc_string(entry->at));
strcat(text, line);
}
if ( entry->ga_len > 0) {
strcpy(line," ga : [");
for (int i = 0; i < entry->ga_len; i++) {
Expand Down Expand Up @@ -702,6 +706,10 @@ void MyFrame::OnRecipientTable(wxCommandEvent& event)
sprintf(line, " path: '%s' ", oc_string(entry->path));
strcat(text, line);
}
if (oc_string_len(entry->at) > 0){
sprintf(line, " at: '%s' ", oc_string(entry->at));
strcat(text, line);
}
if ( entry->ga_len > 0) {
strcpy(line," ga : [");
for (int i = 0; i < entry->ga_len; i++) {
Expand Down
8 changes: 8 additions & 0 deletions knx_iot_virtual_sa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@ void MyFrame::OnPublisherTable(wxCommandEvent& event)
sprintf(line, " path: '%s' ", oc_string(entry->path));
strcat(text, line);
}
if (oc_string_len(entry->at) > 0){
sprintf(line, " at: '%s' ", oc_string(entry->at));
strcat(text, line);
}
if ( entry->ga_len > 0) {
strcpy(line," ga : [");
for (int i = 0; i < entry->ga_len; i++) {
Expand Down Expand Up @@ -726,6 +730,10 @@ void MyFrame::OnRecipientTable(wxCommandEvent& event)
sprintf(line, " path: '%s' ", oc_string(entry->path));
strcat(text, line);
}
if (oc_string_len(entry->at) > 0){
sprintf(line, " at: '%s' ", oc_string(entry->at));
strcat(text, line);
}
if ( entry->ga_len > 0) {
strcpy(line," ga : [");
for (int i = 0; i < entry->ga_len; i++) {
Expand Down

0 comments on commit 7960bd5

Please sign in to comment.