[][src]Function openthread_sys::otPlatBleGattClientOnServiceDiscovered

pub unsafe extern "C" fn otPlatBleGattClientOnServiceDiscovered(
    aInstance: *mut otInstance,
    aStartHandle: u16,
    aEndHandle: u16,
    aServiceUuid: u16,
    aError: otError
)

The BLE driver calls this method to notify OpenThread that the next entry from GATT Primary Service Discovery has been found.

@note This function shall be used only for GATT Client.

@param[in] aInstance The OpenThread instance structure. @param[in] aStartHandle The start handle of a service. @param[in] aEndHandle The end handle of a service. @param[in] aServiceUuid The Uuid16 for the service entry. @param[in] aError The value of OT_ERROR_NONE indicates that service has been found and structure @p aStartHandle and @p aEndHandle contain valid handles. OT_ERROR_NOT_FOUND error should be set if service has not been found. Otherwise error indicates the reason of failure is used.