This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Generic Level model values range is only about 3% on the iOS mesh app

Hi, just posted this question on the Github project of the iOS app but I think this is the "official" place to ask...? :) anyways https://github.com/NordicSemiconductor/IOS-nRF-Mesh-Library/issues/108

Short summary, when controlling the experimental dimming example with the iOS app the range is very small, doesn’t go from 0 to 100%, it does only from 0 to 3% (or 97% to 100% if you have the reversed pin polarity).

Android app works fine.

Parents Reply
  • Hi again!

    So I found a weird conversion on ⁨IOS_App⁩ ▸ ⁨Example⁩ ▸ ⁨nRFMeshProvision⁩ ▸ ⁨ViewControllers⁩ ▸ ⁨NodeConfigurationView⁩ ▸ ⁨ModelConfigurationView⁩ ▸ ⁨didChangeSliderOnCell line 948:
    var level = Int(((newSliderValue * 65535) / 100) - 32768)
    I don't see why the / 100… anyways I removed and now it seems we have a full range from -32768 to +32768… but I dont know why the developer made that conversion and I dont know which test to run so we cant be sure I didn’t just bring a tons of bugs… so I think to leave this question open for now until someone with a bit more experience with the app can confirm the hot fix...
Children
Related