Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sparkplug-dev] Device creation
  • From: "Millieret, Xavier" <XavierMillieret@xxxxxxxxx>
  • Date: Thu, 21 Dec 2023 13:10:25 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=eaton.com; dmarc=pass action=none header.from=eaton.com; dkim=pass header.d=eaton.com; arc=none
  • 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=WSbOsW+8Mi01ZUvts7FW+ZR3hZaaRajAyCcnBkhyLno=; b=eVx/RClJNQsmKm5KuVKNvfA6hagAVek2T4fOik9vAyYeOflHhVQuHVMIhoZPjDYCeCJBgAU8yASQsYDU8zSWU8iTlr3Dpb8oa79GVsAR4pkjtxL7n5RzylqBJ3jI8wMPQJe+FbwogkCX87JaltTfKWsUm55291K5owqvtjJD/68CTPfvb/JGUYe4ZPFnW+nZcMtw93TOr8ameLbTl2f9y383Y8D3ci8yszEswTmD7GaPequts+O1mjCBlnQyR77azrPAKouM1TrWuaz2WnuNjl0vPnxRmEQ6g/jyVAEyk7HSm45h1pKkcu5OFZOONga2IuE0NA7PZvQqUPxTuTPHpA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RJ51Yiruyt/zp1sjDOvT5sBEAPEpJd49OFDipBNjf/dklYg5d6/dyVNRPkQNijKl11w+5jH0sz3MWMRfk/KHhele8XL2OzmOzG50kTWtDrB5Ty9Y6zqv4q0vXVt9SpCqvfxiywG5P5xibp9mJhN5ECsyRDFFMGQgLlxJ9WGq7EpuUj2Gx+yWh9vaKEF7qCYDiOLWnPHTUPGjZidxSIwxwa2RSxKBq+3AGK4HsFejAv7piUXH8bHIWIixdMlPo0CJAxuuDBaOIiCTyUcRAW6fKFI2TrGh6ZEJwSOcY0WBaJCp3C1VgaeuunlcN3uSwe4Li5hgcDRhkuUUcaWouppBgA==
  • Delivered-to: sparkplug-dev@xxxxxxxxxxx
  • List-archive: <https://dev.eclipse.org/mailman/private/sparkplug-dev/>
  • List-help: <mailto:sparkplug-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://dev.eclipse.org/mailman/listinfo/sparkplug-dev>, <mailto:sparkplug-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://dev.eclipse.org/mailman/options/sparkplug-dev>, <mailto:sparkplug-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels: MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_ActionId=0aa9b0b4-33d4-4cd9-a987-aae594ac0608; MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_ContentBits=0; MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_Enabled=true; MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_Method=Standard; MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_Name=Eaton Internal Only (IP2); MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_SetDate=2023-12-21T13:08:54Z; MSIP_Label_ff418558-72e5-4d8e-958f-cfe0e73e210d_SiteId=d6525c95-b906-431a-b926-e9b51ba43cc4;
  • Thread-index: Ado0Dw7wyFLlKILPTUyCKwUJ1haqXA==
  • Thread-topic: Device creation

Hi SparkPlug team,
 
I am new on SparkPlug, and after reading the specification, I have some questions to implement my feature.
The question for is:
I must have some CRUD function for a device in my system, the main question is how pass the verb in the SP payload 
  • Either in the topic name for example spBv1.0/<groupe/DCMD/<edge_node_id>/<verbe-like-create-read-etc>, and in metric all information to create the device?
  • Either in the metric payload, and put in the body all information to create the device?
  • Either in the metric payload, and put all information to create the device inside properties attached at this metric?
  • How to return the result of the CRUD command

    All of them scenario works, but I don't know the right way to do this feature, so any help on this part will be appreciate

    Thanks a lot
Xavier Millieret
Eaton
 
 
 

Back to the top