Skip to content

Commit

Permalink
rename msgs and various fields
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Nov 11, 2024
1 parent 238ac3e commit 1b9d954
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/service/poc_mobile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import "mapper.proto";
import "hex_boosting.proto";
import "service_provider.proto";

message hex_usage_counts_req_v1 {
message hex_usage_stats_req_v1 {
// H3 resolution 10 tile
uint64 hex = 1;
// Number of unique service provider subscribers active in the hex
// during the epoch ( inclusive of discovery mapping enabled subscribers )
uint64 service_provider_subscriber_count = 2;
uint64 service_provider_user_count = 2;
// Number of unique discovery mapping enabled subscribers active
// in the hex during the epoch
uint64 disco_mapping_count = 3;
uint64 disco_mapping_user_count = 3;
// Number of unique offload users active in the hex during the epoch
uint64 offload_count = 4;
uint64 offload_user_count = 4;
// total count of bytes transferred via radios located in the hex
// by service provider subscribers during the epoch,
// inclusive of upload and download
Expand All @@ -38,30 +38,30 @@ message hex_usage_counts_req_v1 {
bytes signature = 11;
}

message hex_usage_counts_res_v1 { string id = 1; }
message hex_usage_stats_res_v1 { string id = 1; }

message hex_usage_counts_ingest_report_v1 {
message hex_usage_stats_ingest_report_v1 {
// Timestamp in milliseconds since unix epoch
uint64 received_timestamp = 1;
// the verified report
hex_usage_counts_req_v1 report = 2;
hex_usage_stats_req_v1 report = 2;
}

message radio_usage_counts_req_v1 {
message radio_usage_stats_req_v1 {
// The onchain address of the hotspot
bytes hotspot_pubkey = 1;
// the cbsd id of the radio if it is a cbrs radio otherwise empty
string cbsd_id = 2;
// Number of unique service provider subscribers which have connected
// to the radio during the epoch ( inclusive of discovery mapping
// enabled subscribers )
uint64 service_provider_subscriber_count = 3;
uint64 service_provider_user_count = 3;
// Number of unique discovery mapping subscribers which
// have connected to the radio during the epoch
uint64 disco_mapping_count = 4;
uint64 disco_mapping_user_count = 4;
// Number of unique offload users which have connected to the radio
// during the epoch
uint64 offload_count = 5;
uint64 offload_user_count = 5;
// total count of bytes transferred via the radio by service provider
// subscribers during the epoch, inclusive of upload and download
uint64 service_provider_transfer_bytes = 6;
Expand All @@ -81,13 +81,13 @@ message radio_usage_counts_req_v1 {
bytes signature = 12;
}

message radio_usage_counts_res_v1 { string id = 1; }
message radio_usage_stats_res_v1 { string id = 1; }

message radio_usage_counts_ingest_report_v1 {
message radio_usage_stats_ingest_report_v1 {
// Timestamp in milliseconds since unix epoch
uint64 received_timestamp = 1;
// the verified report
radio_usage_counts_req_v1 report = 2;
radio_usage_stats_req_v1 report = 2;
}

message speedtest_req_v1 {
Expand Down Expand Up @@ -386,10 +386,10 @@ service poc_mobile {
rpc submit_subscriber_verified_mapping_event(
subscriber_verified_mapping_event_req_v1)
returns (subscriber_verified_mapping_event_res_v1);
rpc submit_hex_usage_counts_report(hex_usage_counts_req_v1)
returns (hex_usage_counts_res_v1);
rpc submit_radio_usage_counts_report(radio_usage_counts_req_v1)
returns (radio_usage_counts_res_v1);
rpc submit_hex_usage_stats_report(hex_usage_stats_req_v1)
returns (hex_usage_stats_res_v1);
rpc submit_radio_usage_stats_report(radio_usage_stats_req_v1)
returns (radio_usage_stats_res_v1);
}

message file_info {
Expand Down

0 comments on commit 1b9d954

Please sign in to comment.