Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6755878ybi; Wed, 5 Jun 2019 06:01:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEtSg7nQb5brSunc8p31grhYtM9JDY9ZveD2cHdf+aquEuN/ilUwdtOVxyB1VnUp2CtEsa X-Received: by 2002:a63:6c87:: with SMTP id h129mr4320558pgc.427.1559739718896; Wed, 05 Jun 2019 06:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559739718; cv=none; d=google.com; s=arc-20160816; b=g2IZEFdXEOh/WlhVfJN1lw1lq58Bm15qsXABThUsc0uSTAyfFyAsVoQnLgE+WTfS3J nQLReOpp2x8tyXN/BhPvHlDV02EmNTJ9HrPzw3JhRWMeOH4APPrUL/eRS6dnQvCtJfbf 86Lh72b1R257nTIL3rZoY3rbL5jkDJ0ucl8zqxVaBQfSeHsX5lmiYjk+uXIrWvRKuXRU x7Zx5mNMnwZH70UiZpEUXl5d57BxOQRuq1jc1YgTLjie6dX6nwXngqK47lpo4K7mKJGE o7wdno7kFUL93zVStf/mqQy4mKsBO3x60u318g0U8eNwC7WuCo6qrxLu4QAX177AqESy 3hrw== 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:to:from:dkim-signature; bh=wKSERM3vzndDIvqRs+nOF6GGZ2emxTwYUbaRxh0GqyM=; b=GZQGaNwvGc6I16BBIRXoN9IHj4SIbq8PaaTQ8p1yNtrnQatJ2dxIJ/BJJEyM9N2EWn RR+LsZM80y6UPWVU/yPbE55R6XY+Ove/ipwsYJ2dWEAYj6c4fBcMuXF7YT3E7yyLQL6t xwbWVk7LlGnDtC3t/6NyvPc1cpS+vZcCQSNBpPDq0sQQGbYeoLbVdVcatU0rRdDje0+0 LMXJBY8agKte0u/+iwywBZCxnhsrqjFctF4wPPsV1EQoP6LXN2rfAuqzeCDNEu6FFKU/ lXYMzD3XHNS7kmgM2+DnH1oMWIgoJsC9nLsgGmn0CGfkuYr119ND/AWGB79Z3Np6sZ0U GacA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=0E9HbW2R; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si28902956pld.334.2019.06.05.06.01.23; Wed, 05 Jun 2019 06:01:58 -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; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=0E9HbW2R; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727809AbfFENBT (ORCPT + 99 others); Wed, 5 Jun 2019 09:01:19 -0400 Received: from mail-lf1-f54.google.com ([209.85.167.54]:34640 "EHLO mail-lf1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727601AbfFENBT (ORCPT ); Wed, 5 Jun 2019 09:01:19 -0400 Received: by mail-lf1-f54.google.com with SMTP id y198so8516213lfa.1 for ; Wed, 05 Jun 2019 06:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wKSERM3vzndDIvqRs+nOF6GGZ2emxTwYUbaRxh0GqyM=; b=0E9HbW2RdELdGEeviQLMxB0ZSillYjSgUoBbvwecFaVTMDxb263kWXCMH14L3Vt4wI XEkx9QTcIZFDHhwyD1fP1bFVkH8eq+9c5Q3u06+r0JTlRiK4roRy+Q6nWnLoExxwxugz CbCRB7sq0xqa4MYac1z7hwn77odgtwbknyEsnj+D6AQchiR1ycfEm7jUFf46kd2kZ1B5 OslxKvhDEmKs4wYuf1xM4YI3X3lb6J/vrA9p8xKzsrYd0ATBaoS7MD31w2UuBfioaP/G dsHwShH6aehTH4zqpgk1kpIkUqusblmXk0/KTvLx6b/3mVI2TJSeV8aaChmbP5DXKg3F /mrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=wKSERM3vzndDIvqRs+nOF6GGZ2emxTwYUbaRxh0GqyM=; b=nRzW9u2nWxtXfRTaNdqfFbi3aSMBOcLOmc27qcwoay9+naT1DObnnZH8rQulqYcR5U IgjNVyyT9Rhn26ce+ohg32Tbw66+wYU8EGgmIpabnXnfFuq814H//zteX3N7MfEwLcUC m2syxnNsKeo6L3Ar0JeQZQmG27aAtqL59+xlcfRjWlAi/NFm/8wnomAeQyplQ5yt9x6M yYoPlYaJYa+97IzQEAJkJC7OqEa7U77Ch0htarTEEgphVwQ03Qln61AApSAHZhgfNGXy 9/ttsnQRx3d1lVe4Ui0mNPmI3+mbbBxyGrYmX/XxS9tMO3cc+v9CDHHm1RiuMhgOdOM7 hILQ== X-Gm-Message-State: APjAAAUXIrYdOTz2TiG8o0LQHGsdGA/qO8bZYowM3/HkumlLqWPE6I+W tHiiFKNlHOsiIYQQG2kmsVRAgd9SlATfdA== X-Received: by 2002:ac2:484f:: with SMTP id 15mr16323977lfy.51.1559739677303; Wed, 05 Jun 2019 06:01:17 -0700 (PDT) Received: from localhost.localdomain ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id y9sm4335699ljc.2.2019.06.05.06.01.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jun 2019 06:01:16 -0700 (PDT) From: Jakub Witowski To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 0/3] Json storage refactor Date: Wed, 5 Jun 2019 15:01:03 +0200 Message-Id: <20190605130106.32372-1-jakub.witowski@silvair.com> X-Mailer: git-send-email 2.20.1 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 Netwrk keys, application keys and elements with models have been simplified in json storage file. Arrays objects are no longer required. Jakub Witowski (3): mesh: Refactor elements related object in json file mesh: Refactor net keys related object in json file mesh: Refactor app key related object in json file mesh/mesh-db.c | 469 ++++++++++++++++++++++++++----------------------- 1 file changed, 248 insertions(+), 221 deletions(-) -- 2.20.1