def _on_interface_opened(self, success, result, failure_reason, context, next_characteristic=None):
        """Callback function called when the notification related to an interface has been enabled.
        It is executed in the baBLE working thread: should not be blocking.

        Args:
            success (bool): A bool indicating that the operation is successful or not
            result (dict): Information (if successful)
            failure_reason (any): An object indicating the reason why the operation is not successful (else None)
            context (dict): The connection context
            next_characteristic (bable_interface.Characteristic): If not None, indicate another characteristic to enable
                notification.
        """
        if not success:
            self.connections.finish_operation(context['connection_id'], False, failure_reason)
            return

        if next_characteristic is not None:
            self.bable.set_notification(
                enabled=True,
                connection_handle=context['connection_handle'],
                characteristic=next_characteristic,
                on_notification_set=[self._on_interface_opened, context],
                on_notification_received=self._on_notification_received,
                sync=False
            )
        else:
            self.connections.finish_operation(context['connection_id'], True, None)
Callback function called when the notification related to an interface has been enabled.
        It is executed in the baBLE working thread: should not be blocking.

        Args:
            success (bool): A bool indicating that the operation is successful or not
            result (dict): Information (if successful)
            failure_reason (any): An object indicating the reason why the operation is not successful (else None)
            context (dict): The connection context
            next_characteristic (bable_interface.Characteristic): If not None, indicate another characteristic to enable
                notification.