• Jim Mussared's avatar
    extmod/modbluetooth: Replace def_handle with end_handle in char IRQ. · cacc96d9
    Jim Mussared authored
    This is technically a breaking change, but:
    a) We need the end handle to do descriptor discovery properly.
    b) We have no possible use for the existing definition handle in the
    characteristic result IRQ. None of the methods can use it, and therefore
    no existing code should be using it in a way that changing it to a
    different integer value should break.
    
    Unfortunately NimBLE doesn't make it easy to get the end handle, so also
    implement a mechanism to use the following characteristic to calculate
    the previous characteristic's end handle.
    Signed-off-by: default avatarJim Mussared <jim.mussared@gmail.com>
    cacc96d9
bluetooth.rst 33.1 KB