2022-04-06 20:18:32 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package meta;
|
|
|
|
|
2022-07-18 13:14:28 +00:00
|
|
|
option go_package = "github.com/chirpstack/chirpstack/api/go/v4/meta";
|
2022-04-06 20:18:32 +00:00
|
|
|
option java_package = "io.chirpstack.api.meta";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
option java_outer_classname = "MetaProto";
|
2023-02-09 15:11:06 +00:00
|
|
|
option csharp_namespace = "Chirpstack.Meta";
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
import "chirpstack-api/common/common.proto";
|
|
|
|
import "chirpstack-api/gw/gw.proto";
|
|
|
|
|
|
|
|
|
|
|
|
message UplinkMeta {
|
|
|
|
// Device EUI (EUI64).
|
|
|
|
string dev_eui = 1;
|
|
|
|
|
|
|
|
// TX meta-data.
|
2022-07-18 13:14:28 +00:00
|
|
|
gw.UplinkTxInfo tx_info = 2;
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
// RX meta-data.
|
2022-07-18 13:14:28 +00:00
|
|
|
repeated gw.UplinkRxInfo rx_info = 3;
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
// PHYPayload byte count.
|
|
|
|
uint32 phy_payload_byte_count = 4;
|
|
|
|
|
|
|
|
// MAC-Command byte count.
|
|
|
|
uint32 mac_command_byte_count = 5;
|
|
|
|
|
|
|
|
// Application payload byte count.
|
|
|
|
uint32 application_payload_byte_count = 6;
|
|
|
|
|
|
|
|
// Message type.
|
|
|
|
common.MType message_type = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DownlinkMeta {
|
|
|
|
// Device EUI (EUI64).
|
|
|
|
string dev_eui = 1;
|
|
|
|
|
|
|
|
// Multicast Group ID (UUID).
|
|
|
|
string multicast_group_id = 2;
|
|
|
|
|
|
|
|
// TX meta-data.
|
2022-07-18 13:14:28 +00:00
|
|
|
gw.DownlinkTxInfo tx_info = 3;
|
2022-04-06 20:18:32 +00:00
|
|
|
|
|
|
|
// PHYPayload byte count.
|
|
|
|
uint32 phy_payload_byte_count = 4;
|
|
|
|
|
|
|
|
// MAC-Command byte count.
|
|
|
|
uint32 mac_command_byte_count = 5;
|
|
|
|
|
|
|
|
// Application payload byte count.
|
|
|
|
uint32 application_payload_byte_count = 6;
|
|
|
|
|
|
|
|
// Message type.
|
|
|
|
common.MType message_type = 7;
|
|
|
|
|
|
|
|
// Gateway ID (EUI64).
|
|
|
|
string gateway_id = 8;
|
|
|
|
}
|