Replies: 1 comment 2 replies
-
|
Can you describe your use case a bit please? The way I see it, the CP app at any give time always know the current baud rate of each PD. During setup time, it knows because it set the pd_info struct. Then during run time if the PD's baud rate needs to change that information comes from the app and there is also a comset complete notification to indicate when the PD actually picked up the new setting. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the only way we have access to COMSET on the CP side to assign a new baud rate to the PD. However, this is the only way to know that this is even possible.
A possible solution would be to add a new tab in PDCAP called "baud rate," which would then contain, for example, a bit field indicating which baud rates it supports (bit 0 = 9600 baud), etc.
This way, you could easily query all PDs with PDCAP to obtain this information and quickly and easily determine the highest common baud rate, and then set them all to that rate.
Beta Was this translation helpful? Give feedback.
All reactions