Skip to content

Comments

Major update#26

Open
yackermann wants to merge 23 commits intoTimeular:masterfrom
fido-alliance:master
Open

Major update#26
yackermann wants to merge 23 commits intoTimeular:masterfrom
fido-alliance:master

Conversation

@yackermann
Copy link

  • Fixed issue with Noble integration
  • Moved to @abandonware/noble
  • Fixed error with crashing when WinRT fails to return name
  • Updated outdated libraries
  • Other fixes

Copy link
Contributor

@geovie geovie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this, the changes look reasonable. Two minor things then it's good from my side

@tony-gutierrez
Copy link
Contributor

Need to get this merged as its the best version out there so far. Also would be nice to convert the code to work against the latest Windows 10 SDK.

@yackermann
Copy link
Author

@tony-gutierrez @geovie I've updated packages, and fixed specified issues.

Appologies for the delay.

@yackermann yackermann requested a review from geovie September 20, 2021 20:21
@jeremywho
Copy link

+1 for getting this code merged.

Copy link
Contributor

@geovie geovie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except some places which will need a return statement.

Thanks again.

auto& reader = DataReader::FromBuffer(value);
Data data(reader.UnconsumedBufferLength());
reader.ReadBytes(data);
mEmit.Read(uuid, serviceId, characteristicId, data, false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a return statement here else read will be emitted twice

auto& reader = DataReader::FromBuffer(value);
Data data(reader.UnconsumedBufferLength());
reader.ReadBytes(data);
mEmit.ReadValue(uuid, serviceId, characteristicId, descriptorId, data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

auto& reader = DataReader::FromBuffer(value);
Data data(reader.UnconsumedBufferLength());
reader.ReadBytes(data);
mEmit.ReadHandle(uuid, handle, data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

@tony-gutierrez
Copy link
Contributor

Does look like some returns should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants