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

Bluetooth: Mesh: Recalculate regulator internal sum #11713

Merged
merged 3 commits into from
Aug 21, 2023

Commits on Aug 18, 2023

  1. tests: bluetooth: mesh: light_ctrl: Use system time instead of mocking

    Use system time instead of mocking k_* functions.
    
    Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
    PavelVPV committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    7dc35cc View commit details
    Browse the repository at this point in the history
  2. tests: bluetooth: mesh: light_ctrl: Avoid long exec time in reg test

    After switching the controller tests to system time, the regulator test
    that checks regulator's wrap around behavior started taking too much
    time.
    
    Wisely hack the internal sum of the regulator to avoid long execution
    time.
    
    Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
    PavelVPV committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    6f6fab6 View commit details
    Browse the repository at this point in the history
  3. Bluetooth: Mesh: Recalculate regulator internal sum

    Recalculate internal sum of the regulator to mitigate rapid change of
    the regulator output when lightness value is non zero.
    Add ramp up time to the pi regulator to artificially delay the
    regulator.
    
    Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
    PavelVPV committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    06a4de1 View commit details
    Browse the repository at this point in the history