Re: [sigrok-devel] [PATCH 201/204] uart: unbreak putbin() for 9bit data, use two bytes per UART frame

2016-10-23 Thread Gerhard Sittig
On Sun, Oct 23, 2016 at 22:42 +0200, Uwe Hermann wrote: > > On Sun, Oct 16, 2016 at 06:25:26PM +0200, Gerhard Sittig wrote: > > Stick with the "one data byte per UART frame" approach for frames which > > carry 5 to 8 data bits. But send two bytes per UART frames (big endian > > representation)

Re: [sigrok-devel] [PATCH 201/204] uart: unbreak putbin() for 9bit data, use two bytes per UART frame

2016-10-23 Thread Uwe Hermann
Hi, On Sun, Oct 16, 2016 at 06:25:26PM +0200, Gerhard Sittig wrote: > Stick with the "one data byte per UART frame" approach for frames which > carry 5 to 8 data bits. But send two bytes per UART frames (big endian > representation) for configurations with 9 data bits. > > This addresses Bug

[sigrok-devel] [PATCH 201/204] uart: unbreak putbin() for 9bit data, use two bytes per UART frame

2016-10-16 Thread Gerhard Sittig
Stick with the "one data byte per UART frame" approach for frames which carry 5 to 8 data bits. But send two bytes per UART frames (big endian representation) for configurations with 9 data bits. This addresses Bug 708, passing values greater than 255 to the bytes() Python routine broke