NordicSemiconductor / IOS-nRF-Mesh-Library

Provision, configure and control Bluetooth mesh devices with nRF Mesh library.
https://www.nordicsemi.com/
BSD 3-Clause "New" or "Revised" License
305 stars 120 forks source link

[App] Fixed behavior on Proxy screen #585

Closed philips77 closed 7 months ago

philips77 commented 8 months ago

This PR fixes some issues on the Proxy tab.

philips77 commented 7 months ago

Fixed issues:

Breaking:

  1. In ProxyFilterDelegate:
    limitedProxyFilterDetected(maxSize: Int)

    was replaced by

    proxyFilterLimitReached(type: ProxyFilerType, maxSize: UInt16)

    The former is now deprecated.

philips77 commented 7 months ago

Other changes:

  1. In ProxyFilterDelegate the
    proxyFilterUpdated(type: ProxyFilerType, addresses: Set<Address>)

    is now called after the list size has been acknowledged. It is always called before

    proxyFilterUpdateAcknowledged(type: ProxyFilerType, listSize: UInt16)

    or

    proxyFilterLimitReached(type: ProxyFilerType, maxSize: UInt16)
  2. These methods are called after calling proxyDidDisconnect().