Skip to content

Commit

Permalink
include RF and location data with hotspot
Browse files Browse the repository at this point in the history
  • Loading branch information
lthiery committed Jul 11, 2023
1 parent 378ccc7 commit b2a395d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/mapper.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
syntax = "proto3";
package helium;

import "data_rate.proto";

message mapper_msg {
oneof version { mapper_msg_v1 msg_v1 = 1; }
}
Expand All @@ -18,7 +20,19 @@ message mapper_msg_v1 {

// hotspots that received the mapper message if it
// was received over lorawan
repeated bytes hotspots = 4;
repeated hotspot hotspots = 4;
}

message hotspot {
bytes pubkey = 1;
uint64 h3_cell = 2;
// snr in 0.1 dB
uint32 snr = 3;
// rssi in 0.1 dBm
int32 rssi = 4;
// frequency in mHz
int32 frequency = 5;
data_rate data_rate = 6;
}

message mapper_payload {
Expand Down

0 comments on commit b2a395d

Please sign in to comment.