Hi Sunish,

Did not dig into the code, but you could declare baudrate as a variable,
not a constant. I had the same issue with ADC libraries. Instead of using
constant, I used variables to modify at runtime ADC behavior. I had to
modify library itself in the end... I don't think it's not doable, but it
may require to change the lib.

Let us know

Cheers
Seb


On 24 February 2013 10:51, Sunish Issac <[email protected]> wrote:

> I have a requirement where the baudrate of the sender can be either
> 2400,4800 and 9600.
> The sending device is a weighing machine and it sends data continuosly, so
> the plan was to try verify the characters and then if its not valid try the
> next baud.
>
> Since the library expects a constant for baudrate, its directly not
> possible to try other baudrates, Any suggestions ?
>
> Sunish
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/jallib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Sébastien Lelong

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to