Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send NBIRTH Message explicitly. #44

Closed
michael-benoit opened this issue Mar 4, 2023 · 6 comments
Closed

Unable to send NBIRTH Message explicitly. #44

michael-benoit opened this issue Mar 4, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@michael-benoit
Copy link

michael-benoit commented Mar 4, 2023

Need the ability to send a NBIRTH message similar to PublishDeviceBirthMessage.

When the Primary App returns to ONLINE, stored messages need to be sent after a new NBIRTH message is sent. Also required to support the NCMD message: Node Control/Rebirth

@michael-benoit michael-benoit changed the title Unable to send NBIRTH Message after Primary App returns ONLINE Unable to send NBIRTH Message explicitly. Mar 6, 2023
@Kvargefar
Copy link

I need this as well. I currently have to use Device Control/Rebirth.

@SeppPenner SeppPenner self-assigned this Apr 7, 2023
@SeppPenner SeppPenner added the enhancement New feature or request label Apr 7, 2023
@SeppPenner
Copy link
Owner

I need to check for Sparkplug 3.0 conformity first (Will be the next step, I hope to do it today or tomorrow) and the next thing is to check this request.

@Kvargefar
Copy link

@SeppPenner I believe this functionality is needed to comply with the 2.2 standard. I haven't checked the 3.0 standard. In the meantime, I believe this is solved by making the Node.PublishInternal() method public. The node should however be able to distinguish between the node metrics and device metrics - which I'm looking into now.

@buentead
Copy link

In Sparkplug v2.2 specification, the Edge Node should be able to respond to the command Node control/Rebirth (chapter 17.5, page 66). According to the Sparkplug v3.0.0 specifications the Edge Node is required to implement the Node control/Rebirth command (chapter 5.17, page 56, last paragraph on page). As of now, I could only implement this command if I Stop/Start the Edge Node connection - and this doesn't really make sense, does it.
As the command Node control/Rebirth is a MUST have in Sparkplug v3.0.0, would it make sense that the SparkplugNet library handles this command itself?
I would really appreciate a solution soon, as we need to be able to handle the Rebirth command within the Edge Node. Thanks.

@adityashahazilen
Copy link
Contributor

@SeppPenner Do you have any update on this feature?

@SeppPenner
Copy link
Owner

SeppPenner commented Mar 24, 2024

So, the main idea here is to have a method to do a node rebirth that (in contrary to a Stop() and Start() of a node) does only send a NDEATH and a new NBIRTH (without doing anything MQTT specific like disconnecting, reconnecting and subscribing, etc.). Or do I understand this in a wrong way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants