Hello everyone,
I'm having a little trouble with BRLAPI.
And especially with the writeDots () function.

I define an array of characters like this:
unsigned char dots[x * y]; // x : number of cells and y: nb of line.
for(size_t i = 0; i < (x * y); ++i)
    dots[i] = 0x3f; // for print 6 dots.

And after brlapi_writeDots take my array.
But from time to time I receive this error and brlapi abort my program.
BrlAPI exception: Unknown instruction on Unknown request of size 40 (20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20) You may wish to add the -ldebug option to the brltty command line in order to get additional information in the system log

In case of error the behavior of this function should return a negative value and not abort.

Do you have a idea ?


Thanks in advance

Tayky

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to