This can be added to the main branch.  I have only been adding i2 specific items to Michael's code. If it doesn't directly relate to i2, I send it to the main branch.  I think Michael has been doing the same.


On Fri, Mar 22, 2013 at 3:51 PM, Marc MERLIN <marc_mh@merlins.org> wrote:
On Wed, Mar 13, 2013 at 07:43:15AM -0700, pelle8 wrote:
> Setting the baud rate using:
>
> my $speed = 115200;
>
> in the insteon_plm.pm file did the trick with the Smartenit ZBPLM modem.
> Would it be possible to modify this file in the source so that it reads the
> config parms like the serial port?  I think something like:
>
> my $speed = $::config_parms{$instance . "_baudrate"};
>
> There could be some additional code that would set the speed to 19200 if
> that parameter is not found.  It is no big deal since it works with
> modifying the file directly, but it would be nice if we didn't have to worry
> about updates wiping out this hack.

Michael/Kevin, are you able to add this to your branch, or should this be
added to the main trunk, and you'll merge later?

Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/