mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-21 22:17:51 +00:00
62 lines
1.2 KiB
Protocol Buffer
62 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package meta;
|
|
|
|
option go_package = "github.com/chirpstack/chirpstack-api/go/v4/meta";
|
|
option java_package = "io.chirpstack.api.meta";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "MetaProto";
|
|
|
|
import "common/common.proto";
|
|
import "gw/gw.proto";
|
|
|
|
|
|
message UplinkMeta {
|
|
// Device EUI (EUI64).
|
|
string dev_eui = 1;
|
|
|
|
// TX meta-data.
|
|
gw.UplinkTXInfo tx_info = 2;
|
|
|
|
// RX meta-data.
|
|
repeated gw.UplinkRXInfo rx_info = 3;
|
|
|
|
// 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.
|
|
gw.DownlinkTXInfo tx_info = 3;
|
|
|
|
// 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;
|
|
}
|