Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transmission settings set flags generation #6640

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/ttn/lorawan/v3/identifiers.proto
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ message EndDeviceVersionIdentifiers {
message NetworkIdentifiers {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
// LoRa Alliance NetID.
bytes net_id = 1 [
Expand Down
12 changes: 6 additions & 6 deletions api/ttn/lorawan/v3/lorawan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ enum TxSchedulePriority {
message LoRaDataRate {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
// Bandwidth (Hz).
uint32 bandwidth = 1;
Expand All @@ -541,7 +541,7 @@ message LoRaDataRate {
message FSKDataRate {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
// Bit rate (bps).
uint32 bit_rate = 1;
Expand All @@ -550,7 +550,7 @@ message FSKDataRate {
message LRFHSSDataRate {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
uint32 modulation_type = 1;
// Operating Channel Width (Hz).
Expand All @@ -561,7 +561,7 @@ message LRFHSSDataRate {
message DataRate {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
oneof modulation {
option (validate.required) = true;
Expand All @@ -578,13 +578,13 @@ message DataRate {
message TxSettings {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
// Transmission settings for downlink.
message Downlink {
option (thethings.flags.message) = {
select: true,
set: false
set: true
};
// Index of the antenna on which the uplink was received and/or downlink must be sent.
uint32 antenna_index = 1;
Expand Down
2 changes: 1 addition & 1 deletion pkg/ttnpb/identifiers.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 51 additions & 0 deletions pkg/ttnpb/identifiers_flags.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pkg/ttnpb/lorawan.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading