Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5066193ybh; Tue, 6 Aug 2019 23:48:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwK2F7RKw8eq+mGg/vGwKzQ/2DzRChzbRnxvUEoZ5WG/sJYbq/8r8oPw+bLCuXAKqDYbTH X-Received: by 2002:a63:714a:: with SMTP id b10mr6655113pgn.25.1565160502078; Tue, 06 Aug 2019 23:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565160502; cv=none; d=google.com; s=arc-20160816; b=qvcUTsJxcXVz+HQuXoFG2H0wMLdIHBWGzZrtLaBDBm9oH2m54lMl63O9KBKk/FGRCa k+tFYhfJQl+gM0om2ZI19SvWrrcpe/JOeluLR9Jg2574mqcwLPBPXNCnzZebBzjRkr9b nOjHR3VbyX4RPrHXHkGdEpBjg3OWNiBJTHTmH0QCIB25ca8Jo46XqwF3W5ietz1Q6xas JK48aupkOrtFXdkq8MMqxCc2/Rc2/STeKEUTVLlC4fa9mHPhoMiHgLqvWSB4HfdbBF9G mvBhPoRfOXAnt4fzK1jFOP11nLWKfIVXV+wuk/xccuRmzywq2hONlXeW93JuonTO8R7I 4Kxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lu0HQLE4FAXjlsgIymRIrUV6wuBB7RADy0CWQSyCuCw=; b=wCiD3DUWKlmodzUSGyGiAz6H0Uhpu+JMkGfiKZgblOPKAJAzKvLXHVbrs2pDqnIUyp FaDwkqNsDmbDwRzJkSdZw0dt3umc0tCj3AYqRXayrdxhNtp0OqdfH8HBmKBEX/+BV0kO D2K3d9fiamoSJknWBN7K6Yi378G+zf9akRUINaGiylpV750GSvbvZKIty5LU+T5wR10Y MJWKZYoYXZOh4eJl5L8PXavPaCp/UIJ8Qsl/NmU03qTPqJgn1ecunTGggVeRugPtRsCS 0nCtulsMu9FI9YxIyiT7yiCH5EPOdrvOqI9fgaLdDl33XvXcRVPoBxX7HUfDEZFvyiia IEBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si48352612pga.449.2019.08.06.23.47.54; Tue, 06 Aug 2019 23:48:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727131AbfHGGrv (ORCPT + 99 others); Wed, 7 Aug 2019 02:47:51 -0400 Received: from mga06.intel.com ([134.134.136.31]:3495 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727105AbfHGGrv (ORCPT ); Wed, 7 Aug 2019 02:47:51 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 23:47:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="182194355" Received: from ingas-nuc1.sea.intel.com ([10.254.176.241]) by FMSMGA003.fm.intel.com with ESMTP; 06 Aug 2019 23:47:50 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, luiz.dentz@gmail.com, Inga Stotland Subject: [PATCH BlueZ 0/2] ELL-based bt_shell implementation Date: Tue, 6 Aug 2019 23:47:45 -0700 Message-Id: <20190807064747.6725-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch set addresses the need of using bt-shell functionality when running with ell mainloop. Specifically, need this for implementation of mesh profisioning tool: mesh daemon is implemented using ell library and is driven by ell main loop. Inga Stotland (2): shared/shell: Add ell based shell implementation shared/shell: Add "clear-history" API Makefile.am | 13 +- src/shared/shell-ell.c | 1325 ++++++++++++++++++++++++++++++++++++++++ src/shared/shell.c | 7 +- src/shared/shell.h | 1 + 4 files changed, 1342 insertions(+), 4 deletions(-) create mode 100644 src/shared/shell-ell.c -- 2.21.0