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

[WIP] Add unit test workflow #135

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Nov 2, 2020

No description provided.

@polldo polldo requested a review from per1234 November 2, 2020 16:00
If a BLEAdvertisingData packet has the raw data parameter set, all the other parameters are ignored when encoding the actual data packet.
This means that the raw data parameter can be as long as the maximum length for an advertising packet (MAX_AD_DATA_LENGTH), that is 31 bytes as per BLE standard.
During the setting of the raw data parameter: if the passed raw data length is larger than this maximum value, then the raw data is not set and the function returns false.
- improve test failures readability
- add const qualifiers to golden data for improving safety
@per1234 per1234 removed their request for review March 9, 2021 23:57
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@51595db). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #135   +/-   ##
=========================================
  Coverage          ?   10.75%           
=========================================
  Files             ?       29           
  Lines             ?     2706           
  Branches          ?        0           
=========================================
  Hits              ?      291           
  Misses            ?     2415           
  Partials          ?        0           

@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants