Message ID | 20211027134952.73063-1-roland.gaudig-oss@weidmueller.com |
---|---|
Headers | show
Return-Path: <swupdate+bncBAABBDNS4WFQMGQEED6YCXY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=tHaFn6lL; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33a; helo=mail-wm1-x33a.google.com; envelope-from=swupdate+bncbaabbdns4wfqmgqeed6ycxy@googlegroups.com; receiver=<UNKNOWN>) Received: from mail-wm1-x33a.google.com (mail-wm1-x33a.google.com [IPv6:2a00:1450:4864:20::33a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HfVSQ0BvCz9sS8 for <incoming@patchwork.ozlabs.org>; Thu, 28 Oct 2021 00:50:12 +1100 (AEDT) Received: by mail-wm1-x33a.google.com with SMTP id k5-20020a7bc3050000b02901e081f69d80sf1279028wmj.8 for <incoming@patchwork.ozlabs.org>; Wed, 27 Oct 2021 06:50:12 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1635342605; cv=pass; d=google.com; s=arc-20160816; b=UJVl0H3+GWW4bjZvdi679KbnsP9VBQepeEX8YWouRCVk/BNLW38nTdRD6Ik17+QJN+ 85Ltz1VYfNSkOmeBN8HLwxaKHv37sYAoSuHH8t3ftAtu3iAVqKxi6JIHOgYZnbVDvRyJ oYSVQORnaJHmZ6ugc79c/ZU8ZSMWx3JMr3nwBFslSptAQOw8gts95MwOMkwK4ESf0Elg rvM1oxhCMZriQ6OxhASNOc6MR7DwPDx0RkfXwbOczeChcm1qPAcOgrk3iXSca5Fy7E5S ee6G3wCPwi2/MOGLotveawxxTDaBD9GFvvQ776xVzlxqsehUfDQ5pLipZri/Qpib3dXo vVLQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=lmVWv2CKCLPdQdr1NQ3yKGue1ObAxZOuLwNnt19k3ms=; b=g5SIU/AZhCXcE7NA5I2yL2E0BnxY7FZ1wMtiGbN3VmKnlIrgeWQzEl9hqCMHQPUALI 2p2UATSn1n6ONwi8Buu5IqXrw20bhF/UOsoYaRS67NFSrgy/OGjvoIo2yT8rd6Y4qHih APmvUMg/aqxYFhlshKZSXZTD6UCNbuRkGHbjVMp4VPeYcBBhV2Uety1EJ2VPIhiqCw52 JPfpUev1Ll0GvZVTPluYip76yo/GHS1Z2iLGNXcNIhMEh6TqWgJNTSDw4BNVHBt/bhRg KE08S/zBHs/qcCUBr8kqZmY17ErZIbf1kBMqnxVqKlGTI3sjL3QfZSbqvel3kBVneW/m /U7g== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=TSLS+TmL; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.2.65 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lmVWv2CKCLPdQdr1NQ3yKGue1ObAxZOuLwNnt19k3ms=; b=tHaFn6lLgUqDDfNTuDPcylj8V3vdHT2WTDs2kdQtcAP8dJI980xCcj9yhRUqc0jrTq u73eopU7uQ8y3ElexNrx5ukLoOx+QmvDXuKzUxNjUr9IOsj6I9w5Qv1XWdH1/SpbUBZS 1u6FYW0BQC0PgpQtRtpiQ6MGgOKWAZW89h/VP74uV73zZWBlNIvLrKZBQkafydarTtGf dei2fuY8lg5XZ8qEG6uDrf72ZrFf2aoPwaFZGu/lpC/GLtfxwBt8iJBkBwS7LsyeBQUH zdQk/wo6bEi2XXy3PixPDzD7+IlG/ma/Q7tBNkKZr+iIgH+gkYz4iSytI7/0MyEJIQ++ C6gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lmVWv2CKCLPdQdr1NQ3yKGue1ObAxZOuLwNnt19k3ms=; b=EzA9iOL3pE/VpgRf2Vw9Xkz8J6VL972pxBdiu4Ucvwq5dvmsvknv0GXANM0yleMd8B WDtoQjC3CJ7/jxtis+pjwTzrPWWWpT5OYeD7rXfPpdu+BtmWGXyZA9eDhq5xvgXc+9ik HjGZsgXQyX9WUe462wuUSYxUGcNGdJ087+9VNJ+wR9LBE9xIabS7uKEU/07LyU4gpM4D Wqvz5HZFhw9SV5NjQN5URAfEvr08gK0JEcb0VJUv4+OV4VmMdfw1Cn/dkLFf9yVCYCR8 /3WtRaBlI9d8zsa8ugncJ+IHtqR9GOSsjhUmVD5ZEfhqd6FPAeE7tfVflDJNpaJ9Fy3r 9EMg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533hGgVSE+bZvfyDHFlsvYWK2FP1bGmJ6AZzdlPw/PmKy4161VRZ fMVaatAfeF0OXUVE5qQRSoQ= X-Google-Smtp-Source: ABdhPJz4PYfjaQcJ3NA3rbD8n+cARr7u0HeK4y8JeJOprs0oM1uMtzt+J9AnqMLPd6RiWuTbeOykug== X-Received: by 2002:adf:c604:: with SMTP id n4mr39210125wrg.202.1635342605763; Wed, 27 Oct 2021 06:50:05 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:19d0:: with SMTP id u16ls2096308wmq.3.canary-gmail; Wed, 27 Oct 2021 06:50:05 -0700 (PDT) X-Received: by 2002:a05:600c:3b89:: with SMTP id n9mr5817928wms.7.1635342604991; Wed, 27 Oct 2021 06:50:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635342604; cv=pass; d=google.com; s=arc-20160816; b=wGEwwpeaUxu2Dx/CWgPnHxdD34CDM2XqdilksgF81kPslW01ZIuZrfJuagINPD3Ayl 6e+QPgNwuuo1DOCXRN+YbyuSbCyjNjXfUi9cT6vzCJQdcoKK0Krnj0wyeVj1p2agI8iY IYl9KVIRreuQPu11T8GtNvw9xoZXzZpCK7fsb5dtgGWs6+c7atRcHEpNsCMSQvk+Jnzd Ry4TkGI6ue9/QpUb5UY0mUJf0dUqIIMMhYl8YieYh1P72x2uIMkPIaumCg09L5AFKlan BgKxU1BLX/jh/oiyM9UdR5s4CrBr+tQ3dq5JGhpfHfcgS2qvyaJMR/wLY2CoI5jmjPbZ S7HA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:message-id:date:subject:cc :to:from:dkim-signature; bh=NPHcxcPcqq/1qCjulrZhuB3m0DrX1T4v4k/6iSdXdjg=; b=GonglDiTAr1HKQdWfayWREG2NuL33ic5wA84FMx0LSy+dKZVRQRpZ2U9wT6HP/PtLB yIRoRIp3rR+Oi5BRl2wG3F72VHq5Q8d1I/+n5ILmXx8z1afrUjRS0uAaOp5YpatJsHKm zXr1QFvLBTVgmrDeXzt5fwUwEBDUaiLVahmutOCTgd+eFDd24evQ1U4wwYN6bp8M522n xE+1xNhOMWm7fEEAqHn0EZXxfmA6NIv9dA0lU3yKGj+UI+a+TpxFwqtWfzTSzQ4pxeGz bGmuGt7KRommKLzsViwYN0wW/RCF3FwnSZFDVD1MoISva0mAXYoIdqEPmjteUjoXGEii kMNg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=TSLS+TmL; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.2.65 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20065.outbound.protection.outlook.com. [40.107.2.65]) by gmr-mx.google.com with ESMTPS id o30si451682wms.2.2021.10.27.06.50.04 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Oct 2021 06:50:04 -0700 (PDT) Received-SPF: pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.2.65 as permitted sender) client-ip=40.107.2.65; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eCZWotR0FR1tpim1Z+EjI859bvOY3NoAPhcLm/3/6M53kvETECKIaucwFSnER10HzEYr/z6J9Eg6EjEKoacgmfnm6UlbbRDqXdkuADF0421MY4mVVfWX2FesmpNcRQ0oRDvst1qkw1msyUS4fHJVa7fNxzkykA1c3xbu5Gb/OmQHfYoY7LvH4hLS/fnGJS3hGMewTJcFo2Cp3XI1MJY9StOopASJS0rNNDQsqGODeWs7XdHtsCIx6p7tad7iWJSStEtG4HcaMPbt4LZgvl8Q8e1iHL4CN2st0ZzCCE2l7YmrKPQ+Hr7W+6dPjdzXqWTQkgXl0XtXfts1Wz1zza4CuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NPHcxcPcqq/1qCjulrZhuB3m0DrX1T4v4k/6iSdXdjg=; b=HJM2NFNmle7T2AyzYxG4AgISDE7uGWe0dVJ2gH8onVfExB1PsT6rJ3WnZJiGNRCWw8evW1REEHEYgQrHi3bsNVIE0vBUCQY6NUzd5jL811nB1pBNnOma5eMBdPKF/qFSasTeQwnxsIO1W24YQVShpogAr4BwIrLE7SThwbKgLHHPJ0+bdpgfEHQV4UeJAWU3LLSfzYd9FH1GKFi1WuvOUJBGkmrKR5Bls/03IDBY+XIc4yTc3G+Mud+EE5jvzwFG5UbGwtcFz5MEWViXQ2TtgZieek4MNJcq2Rfwva+jaWObSXrqTyOsWnYOmKa0NCcIDX9a8L6bGLh3PisudnSGzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weidmueller.com; dmarc=pass action=none header.from=weidmueller.com; dkim=pass header.d=weidmueller.com; arc=none Received: from AM4PR08MB2658.eurprd08.prod.outlook.com (2603:10a6:205:a::27) by AM0PR08MB3491.eurprd08.prod.outlook.com (2603:10a6:208:d3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Wed, 27 Oct 2021 13:50:04 +0000 Received: from AM4PR08MB2658.eurprd08.prod.outlook.com ([fe80::8821:a0b2:5af2:ae97]) by AM4PR08MB2658.eurprd08.prod.outlook.com ([fe80::8821:a0b2:5af2:ae97%4]) with mapi id 15.20.4649.015; Wed, 27 Oct 2021 13:50:03 +0000 From: Roland Gaudig <roland.gaudig-oss@weidmueller.com> To: swupdate@googlegroups.com Cc: christian.peters@weidmueller.com, sbabic@denx.de, Roland Gaudig <roland.gaudig@weidmueller.com> Subject: [swupdate] [PATCH v3 0/8] suricatta: ipc: add request to get hawkBit server status Date: Wed, 27 Oct 2021 13:49:44 +0000 Message-Id: <20211027134952.73063-1-roland.gaudig-oss@weidmueller.com> X-Mailer: git-send-email 2.25.1 Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: AM5PR0602CA0003.eurprd06.prod.outlook.com (2603:10a6:203:a3::13) To AM4PR08MB2658.eurprd08.prod.outlook.com (2603:10a6:205:a::27) MIME-Version: 1.0 Received: from DE12086.weidmueller.com (87.129.248.106) by AM5PR0602CA0003.eurprd06.prod.outlook.com (2603:10a6:203:a3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13 via Frontend Transport; Wed, 27 Oct 2021 13:50:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79a6c9d6-97cf-413d-5b86-08d99950ad6f X-MS-TrafficTypeDiagnostic: AM0PR08MB3491: X-Microsoft-Antispam-PRVS: <AM0PR08MB34919F52E6F94D953BFB91C5AF859@AM0PR08MB3491.eurprd08.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qv04NIdn3G4cQD06Z4l7IBFwWEctoKtzeqM8fv+lKhu6Wds5N4HWPhDihn4G/ZVGPqRemzxQSbw0ZPqYzIYeO1qo0FlAHsEXX29riYASzP0/FGsp6YAT37Dv/U15JIofPWSqlKqkh/5vfp66OLnLS47U1BR/WwRmP0EZ1tzD40Jb8c9czKA/0eyqMNGDqce2nZGn18Go5pWwIcUZhTF68O/oCZ022J4zEqIbQ/LPX+pk+7soaqC3zcxwohmVUMFPnQ7/H/TDs4GID2N3xmVbz2MKrCwFzjYl1cwOp3Ovrzl8i1hWt4l6jA4LTnm+75dSWIFTYTVrCWxBMYLHKJ7j/smwIzTTr6Aum3wd4vyKqDbPj8QHwlRex/6YItJDieoBfysDp018PiVxCRTt+U3ORAdHss+rxQkCjvZkj+hMJAVrCVwauV1ASnCW6PFyvIEyTDQyY99y/TPHYa7JOfINPbClmPjAe/+MXGXsZpqF+JHfn+xuuux8fpDY1BF7FAOtHEk4JEdm0HdENwc+cd+OVay+IIWk35FslVZ6yO5qxh1jIUlFiFroqBev8Ri7K3yZy+uCEmSIqeXzki0F9q3D+DKU0uf4S4oMAj76flz8nDr3xwQqno6HQXrEcIltaksEttSq9ct5rbmOJqSTqW1a60J6FW69vt35xnGosJTKod8jqaVNif5xPFqh9FIC5tXTL/rrElqvzOiUa6aeeLCFUQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM4PR08MB2658.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(7696005)(316002)(6486002)(52116002)(186003)(5660300002)(107886003)(26005)(1076003)(2906002)(86362001)(36756003)(6916009)(508600001)(4326008)(8936002)(2616005)(66946007)(83380400001)(6666004)(956004)(8676002)(38100700002)(66476007)(66556008)(38350700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5OKkhIvR5OEHPpx9aNqwrxgf1zPU7GIOfv4eKUqaS83hesx904nisaFsUL4oJpfPC3DLT9d3pnjfUMIvwfK/LOTW69ibIJYKQ5yypiU+lIlaMbS1JSxydf1oy5K8KM0EVo/w+cmkCiRFpL5AdWqO+RUFZ83sg213BdhdY4EraUjJ6f/jbFDkMbSQcixzDTbzJmNSdkg7T3QB0NzBnWBxfGHc+5oHRxdQwUMDAyovJZUM2txH9N+n7hskbp6L+pfu1PkUj+pIqX6RfIqDo03KvztfHAgIXKO3COap2SQWvYhYuDumtIrHcbIBuqqTZ2qH3kxKhYx2mFcIV4CyVg7c7b6/MLDuLGOYrZImA/V/doODl2WeB3d39hsU4T7J1ZPu7LV/220xFH5AxCZ35JI9jAoi/earrFfU8tWPJyFziMgP4iYycSui53S+m66Yxs54ZGMyYNO370je5f0MTtA4jifL9K+K20oV8mU0/l2aMvl75EiX6wATF52Va/lQpGXJ955GGKGxpCltmzfkNQS7NJN4rzTHEqhfXBcUUMsbqlP4HbvFYSu6Eeu0BkxsMWitIfa80ECr2NvKcpk3lKaRY1FuYRMypNtoefxaSAVTJNP7VVZLRu4y6G6Bylu8oQ8a+c8jN5Z0BwAWGizjHSsY59YfcYuZjn6OF8YDU8rkuuXGDrmbn0CzVB/mbYEzwbrh6X/5OBcD5JwNphbzk1Hm0XPeYTPPJDB6jrpIbmRYPbBqtPfTp26FptAtfC3V1mRwQnwd1mbvb7/2zz2D/X6U+9BHcowMpwQxf6sJ+3HR3v1Gsosgs43LphKTpRREUkjknZ4Ef7n0SBOrmqHAkfD741Ayl4tm+bNiMD9ClWc/eVQVl1rZ9kxG/4u3TrLxFekUdLPM9KQhqPXSleulxhdPmpuzOjIVRb9NFCZqLjbPKQbc+Ene2TIawPXTEsQ/d4EJPKlini4lqpaivWm4o71/e8U4V0gcnybmpPkQEwB2gEV1A+eJBTeaUo3oKOMz1FekhWlQTGSJFujauOa1oY1O4vJvTSQS7+/5oJ1ApYppPbR5AuHtViSN4MsUhhND51sEDUQOh5yndKhM9hpiwWGd3t8pC92+YlJU3rPLPJdzKKr0mdUEPSw3GlMnjt/BWM3oMqKgRsUSqne+3LBPSB6lZP3NrmxF2qjBro409kBG//3xo4GsWQLixkar9w29Y8thi+uMQ7EsFS1abB9l/NM911q/YVhK0j3gYkjKKWw6Ng2TlnIHQQBo2fZ3p3PUlgb9Zg28HP28ryCjCANE+TNl9xdZ1wfOLFSTofO5WeoRZd4giTP09D9enPq5kE2NMrxYX2vBf8gzXLIOec75OvWT93EeKLL4FSEO639qdWumlelAcXljIafNbi0Bxxdy3rPmjISRxuSpruYP8e2MIkAr+dQqC3RF0ffYXESBt12f+EL9WFjn8oei+rYYMmu3DClikfPeTYHQ0/DElHFdbCBDDwpAROxbnhWDxA69SYfoCREHMBHaA1MxSqls8Nvir+f/9QEs89LkIqviy3CXjSOfxZrI2PKV/QsX6s9qj5qUvxgxsaW5/vYRXh8JihwqbjCrD8YudKZeJn/5gyLUYFlRClQ5SvcZqOZ2gn6fGP0VbSE= X-OriginatorOrg: weidmueller.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79a6c9d6-97cf-413d-5b86-08d99950ad6f X-MS-Exchange-CrossTenant-AuthSource: AM4PR08MB2658.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2021 13:50:03.7334 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e4289438-1c5f-4c95-a51a-ee553b8b18ec X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5inKeuEJ/TwpnPrixgAg9PRMnsiGMFUOzaAf6A7qLEc9Ch+UyKkPB59S7GCYdXoSIehGrjVLHQhSzoeJEyCW6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3491 X-Original-Sender: roland.gaudig-oss@weidmueller.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=TSLS+TmL; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.2.65 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
suricatta: ipc: add request to get hawkBit server status
|
expand
|
From: Roland Gaudig <roland.gaudig@weidmueller.com> This patch series ads a new GET_STATUS request to the Suricatta IPC API. The response contains a JSON object representing the connection status to the hawkBit server during the last poll cycle. { "server" : { "status" : <status> "time" : <time> } } The value of <status> is just an integer value according the channel_op_res_t enum from channel_op_res.h. The value of <time> contains an ISO 8601 formatted date time string. To suport converting older timestamps from logs the swupdate_time_iso8601 function has been extended with a parameter for entering a struct timeval. In case a NULL pointer is passed, it will convert the current time like it did before this modification. While testing the new GET_STATUS request some problems were discovered. In case the hawkBit server was not availlable or there were connection problems the IPC socket could have been blocked for several minutes, without responding a valid status. To overcome these problems the Suricatta IPC has been separated into a separate thread. As during start-up the server_start function could stay very long inside a loop waiting for server responses before entering the Suricatta main loop, an additional status CHANNEL_REQUEST_PENDING has been added to channel_op_res_t. This allows the GET_STATUS request to return a more specific status what is going on during that phase. For testing the "trigger" command I extended the swupdate-hawkbitcfg with an additional option for emitting "trigger" requests. Changes in V3: - Undo tools Makefile change from V2, as it didn't solve problem - Put CONFIG_JSON condition into swupdate-gethawkbitstatus.c - Add warning in swupdate-gethawkbitstatus.c if json-c is missing Changes in V2: - Compile swupdate-gethawkbitstatus only if CONFIG_JSON is active (no changes since v1) Roland Gaudig (8): util: add optional swupdate_time_iso8601 param suricatta: add basic status request tools: add swupdate-gethawkbitstatus tools: add trigger to swupdate-hawkbitcfg gitignore: add tools/swupdate-gethawkbitstatus doc: add description for hawkBit server status channel_curl: add separate error codes for SSL suricatta: separate ipc into separate thread .gitignore | 1 + core/util.c | 9 ++- corelib/channel_curl.c | 12 ++-- doc/source/swupdate-ipc.rst | 23 +++++++ include/channel_op_res.h | 5 +- include/network_ipc.h | 3 +- include/util.h | 2 +- suricatta/common.c | 3 + suricatta/server_general.c | 2 +- suricatta/server_hawkbit.c | 54 ++++++++++++++++- suricatta/server_hawkbit.h | 2 + suricatta/suricatta.c | 99 ++++++++++++++++++++++--------- tools/Makefile | 1 + tools/swupdate-gethawkbitstatus.c | 70 ++++++++++++++++++++++ tools/swupdate-hawkbitcfg.c | 12 ++++ 15 files changed, 259 insertions(+), 39 deletions(-) create mode 100644 tools/swupdate-gethawkbitstatus.c