Skip to content

Commit

Permalink
Update WNT protos for WNT 4.1 (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Teemu Piiroinen <[email protected]>
  • Loading branch information
teemupiiroinenwirepas authored Sep 24, 2021
1 parent 53d6a10 commit 64219bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wnt/protocol_buffers_files/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ message DiagnosticsData {
FTDMA_ADJ_OTHER_REASON = 55;
SINK_CHANGED = 56;
FHMA_ADJUST = 57;
TDMA_ADJUST_CCSTAT = 58;
ROUTING_LOOP = 64;
DENSE_REMOVE_SUBNODE = 72;
DOWNLINK_TX_FAIL_COULD_NOT_SEND = 73;
Expand Down Expand Up @@ -197,7 +198,7 @@ message DiagnosticsData {
optional float cb_mac_load = 51;

// If WM version >= 4.0 Access cycles from traffic diagnostics
// is replaced by cluster node amounts
// is replaced by cluster node amounts, but is activated again in WM FW 5.2
optional uint32 cluster_member_amount = 52;
optional uint32 cluster_router_node_amount = 53;

Expand Down Expand Up @@ -291,6 +292,9 @@ message DiagnosticsData {

// New in 5.1 continues
optional int32 cca_limit_dBm = 101;

// New in WM 5.2
optional uint32 address_clashes = 102;
}

message RxData {
Expand Down Expand Up @@ -386,6 +390,8 @@ message GetScratchpadStatus {
optional uint32 resend_interval_s = 2;
optional bool is_close = 3;
optional bool is_sink_only = 4;
optional MessageSendingType message_sending_type = 5;
optional uint32 message_distribution_interval_s = 6;
}

enum ScratchpadType {
Expand Down
2 changes: 2 additions & 0 deletions wnt/protocol_buffers_files/otap.proto
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ message SetOTAPState {
optional uint32 start_time_s_epoch = 10;
optional uint32 loading_time_s_epoch = 11;
optional uint32 activation_time_s_epoch = 12;

optional MessageSendingType message_sending_type = 20;
}

message SetOTAPStateResponse {
Expand Down

0 comments on commit 64219bf

Please sign in to comment.