On 19/03/16 10:27, Andy Carter wrote:
> On Friday 18 Mar 2016 21:49:49 Johan Ström wrote:
>> I've patched OWNet.pm in master now, to not send a null-terminated
>> payload. The main issue was that that the payload field held the
>> null-terminated length of full payload, but the size field held the
>> non-null-terminated length (of the data). This confused the server which
>> calculates the end-of-path portion as "payload length - size". When
>> Payload length was +1 (for null), but size was for non-null length, the
>> first character was lost.
>> Regarding the trailing ||, could it be that the LCD unit displays a \0
>> (custom char 0, for HD44780?) as ||?
> It does, I have read that here or elsewhere. Sending
> "fred"."\0"
> displays
> red||||
> the first || being perl's null string terminator presumably.
>
>> Andy, Nico, can you please try the master branch?
> Just rebuilding 3.1p1 now and all is working as it should here with new
> OWNet.pm, displayed text OK, backlight switching as it should also.
>
> I've just tried reinstating the raspbian jessie owfs etc. to check that also
> works with the new OWNet.pm but I seem to have a broken system - back later :/
>
> Many thanks for this
Great! Let's hope this solves it for Nico too then
> Andy
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to