-
Notifications
You must be signed in to change notification settings - Fork 39
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
Comments
Thank you for reaching out.
I don't know the history of this requirement and I'm aware of it in the 3.0
specification.
Your implementation should be fine.
If one of your new devices adds or changes a template definition, your
online edge node will have to publish an NDEATH and in the next NBIRTH,
publish the template definition additions and changes followed by DBIRTHS
of all the online devices.
…On Mon, Nov 6, 2023 at 9:36 AM Sean Hsu ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#492>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEF6AZVTOLTMQ7MBIVHCQV3YDENZLAVCNFSM6AAAAAA674JW4SVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TSNRYHE2DCMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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 |
If you're not using template definitions (or the templates are predefined
and don't change), you can publish a new DBIRTH when your device is
detected. That's within spec.
Just note that if your online device changes configuration (if this is
possible), publish a DDEATH prior to publishing the DBIRTH.
…On Tue, Nov 28, 2023 at 10:08 AM Sean Hsu ***@***.***> wrote:
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.
Thanks
—
Reply to this email directly, view it on GitHub
<#492 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEF6AZTVO3QCIRWZOLPPCGTYGYSCVAVCNFSM6AAAAAA674JW4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQGQYTCNBWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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
The text was updated successfully, but these errors were encountered: