You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do have some questions and enhancements proposals.
live_reporting_enable is defined at the sdk level (in sdk.h) and encompass both live reporting and control reporting, this makes it hard to deactivate selectively control broadcast and live broadcast. What is the rational behind that choice ? In the current implementation I'm not sure how to activate / deactivate control broadcasting at run time.
Why not place these live_reporting_enable and period related parameters in thingset_can ?
IMO broadcasting (both live and control) should also trigger a PRE tx callback so the user can retrieve a measure to broadcast for instance. Is there a reason why it should not ?
Open question : Have you figured out a simple way to determine who is the master in a multi node context ? I understood that the node_addr assignment is random, so if 0x01 disconnects how to determine simply who is the "smallest" address wise ?
I'm not sure I fully understood everything here, sorry if some are dumb questions 😄
Hi,
I've been through
can.candcan.htoday.I do have some questions and enhancements proposals.
live_reporting_enableis defined at the sdk level (insdk.h) and encompass both live reporting and control reporting, this makes it hard to deactivate selectively control broadcast and live broadcast. What is the rational behind that choice ? In the current implementation I'm not sure how to activate / deactivate control broadcasting at run time.thingset-zephyr-sdk/src/can.c
Line 386 in 4874076
CONFIG_THINGSET_CAN_CONTROL_REPORTING_PERIODis a good way of initializing the control period, but at the moment it cannot be changed at run time. https://github.com/ThingSet/thingset-zephyr-sdk/blob/48740769cea0d9666fc9132cd8923f9ce2c088f9/src/can.c#L421C41-L421C85 IMO would be nice to be able to set that parameter. Would it be better to add it tosdk.hor inside thestruct thingset_can?Why not place these
live_reporting_enableandperiodrelated parameters inthingset_can?IMO broadcasting (both live and control) should also trigger a PRE
txcallback so the user can retrieve a measure to broadcast for instance. Is there a reason why it should not ?Open question : Have you figured out a simple way to determine who is the master in a multi node context ? I understood that the
node_addrassignment is random, so if0x01disconnects how to determine simply who is the "smallest" address wise ?I'm not sure I fully understood everything here, sorry if some are dumb questions 😄