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

Question: New Device Discovery #492

Closed
1 task done
yhseanhsu opened this issue Nov 6, 2023 · 3 comments
Closed
1 task done

Question: New Device Discovery #492

yhseanhsu opened this issue Nov 6, 2023 · 3 comments
Labels
question Further information is requested

Comments

@yhseanhsu
Copy link

What do you want to know?

Hello,

I was hoping to get some clarification on the spec regarding the device lifecycle.

In the scenario that a gateway device (e.g. a Sparkplug node in my implementation) discovers new edge devices and onboards a new device dynamically, how would one send a new DBIRTH message when the spec requires the node to send all DBIRTHs after NBIRTH.

[tck-id-payloads-dbirth-order] All DBIRTH messages sent by an Edge Node MUST be sent immediately after the NBIRTH and before any NDATA or DDATA messages are published by the Edge Node.

Do I have to rebirth all NBIRTH and DBIRTH messages when a new device is detected?

Thanks

Is this related to a Sparkplug Listing request? If so, link the issue from https://github.com/eclipse-sparkplug/sparkplug.listings here.

No response

Version

None

Accept EFTL Terms

  • I agree to the terms of EFTL
@yhseanhsu yhseanhsu added the question Further information is requested label Nov 6, 2023
@bryce-nakatani
Copy link

bryce-nakatani commented Nov 14, 2023 via email

@yhseanhsu
Copy link
Author

yhseanhsu commented Nov 28, 2023

Hi Bryce

Thanks for the response.

In the case that I'm not using the template definitions, is there a easier way to handle this situation?

For example, is it within spec to simply just send a new DBIRTH whenever a new device is detected? I'm currently using a gateway that dynamically discovers nearby bluetooth devices.

Having to send a NBIRTH and the DBIRTH chain can be quite annoying for the reader when there is many devices connected to the gateway.

Thanks

@bryce-nakatani
Copy link

bryce-nakatani commented Nov 28, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants