Skip to content

Commit

Permalink
Add network address to PacketReceivedEvent
Browse files Browse the repository at this point in the history
This information is not part of a message received from Wirepas Network but the gateway knows it from the received sink.
It is required in the MQTT topic and that is the only info that is in MQTT part and not in protobuf.
Setting it may help backends as they not necessarily need to keep an association table from gateway_id/sink_id to network_id
  • Loading branch information
GwendalRaoul committed Feb 25, 2021
1 parent 6714fc7 commit a030461
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gateway_to_backend/protocol_buffers_files/data_message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ message PacketReceivedEvent {
optional uint32 payload_size = 10;

optional uint32 hop_count = 11;
}
optional uint64 network_address = 12;
}

0 comments on commit a030461

Please sign in to comment.