Skip to content

Commit

Permalink
SetNotificationResponse isNotifying added
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldemarco committed Mar 7, 2018
1 parent 2b78b37 commit 48dff27
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions ios/gen/Flutterblue.pbobjc.h

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

6 changes: 3 additions & 3 deletions ios/gen/Flutterblue.pbobjc.m

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

10 changes: 5 additions & 5 deletions lib/gen/flutterblue.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ class SetNotificationResponse extends GeneratedMessage {
static final BuilderInfo _i = new BuilderInfo('SetNotificationResponse')
..aOS(1, 'remoteId')
..a<BluetoothCharacteristic>(2, 'characteristic', PbFieldType.OM, BluetoothCharacteristic.getDefault, BluetoothCharacteristic.create)
..aOB(3, 'success')
..aOB(3, 'isNotifying')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -1007,10 +1007,10 @@ class SetNotificationResponse extends GeneratedMessage {
bool hasCharacteristic() => $_has(1);
void clearCharacteristic() => clearField(2);

bool get success => $_get(2, false);
set success(bool v) { $_setBool(2, v); }
bool hasSuccess() => $_has(2);
void clearSuccess() => clearField(3);
bool get isNotifying => $_get(2, false);
set isNotifying(bool v) { $_setBool(2, v); }
bool hasIsNotifying() => $_has(2);
void clearIsNotifying() => clearField(3);
}

class _ReadonlySetNotificationResponse extends SetNotificationResponse with ReadonlyMessageMixin {}
Expand Down
2 changes: 1 addition & 1 deletion lib/gen/flutterblue.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const SetNotificationResponse$json = const {
'2': const [
const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
const {'1': 'characteristic', '3': 2, '4': 1, '5': 11, '6': '.BluetoothCharacteristic', '10': 'characteristic'},
const {'1': 'success', '3': 3, '4': 1, '5': 8, '10': 'success'},
const {'1': 'is_notifying', '3': 3, '4': 1, '5': 8, '10': 'isNotifying'},
],
};

Expand Down
2 changes: 1 addition & 1 deletion protos/flutterblue.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ message SetNotificationRequest {
message SetNotificationResponse {
string remote_id = 1;
BluetoothCharacteristic characteristic = 2;
bool success = 3;
bool is_notifying = 3;
}

message OnNotificationResponse {
Expand Down

0 comments on commit 48dff27

Please sign in to comment.