<div dir="ltr">Hi again,<br>I'm working on this project in my free time, so sorry for these late checking and reply,<br>know that I've time to resume what I wanted to do, using your suggestion, I've written the following code to change the text table :<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">const char *table_name = "ar.ttb";<br>int result = brlapi_setParameter(

BRLAPI_PARAM_LITERARY_BRAILLE_TABLE,<br>                                   0.<br>                                    BRLAPI_PARAMF_GLOBAL,<br>                                    table_name,<br>                                    sizeof(table_name));</blockquote><div><br></div><div>but I get an "invalid parameter" error.</div><div><br></div><div>Am I missing something?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 15, 2024 at 10:37 PM Dave Mielke <<a href="mailto:Dave@mielke.cc">Dave@mielke.cc</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[quoted lines by payman shaykhmehdi on 2024/06/15 at 08:37 +0330]<br>
<br>
>I'm writing a braille learning application for persian users. It needs to<br>
>be sure that the braille table for brltty is persian. So I need to change<br>
>the text table from within my application code. But it seems that<br>
>libbrlapi doesn't have this functionality.<br>
<br>
Yes, you can already do that. You do it via BrlAPI's parameter interface, i.e. via the brlapi_setParameter() function. The two parameters of particular interest in your case are BRLAPI_PARAM_COMPUTER_BRAILLE_TABLE and BRLAPI_PARAM_LITERARY_BRAILLE_TABLE.<br>
<br>
-- <br>
I believe the Bible to be the very Word of God: <a href="http://Mielke.cc/bible/" rel="noreferrer" target="_blank">http://Mielke.cc/bible/</a><br>
Dave Mielke            | 2213 Fox Crescent | WebHome: <a href="http://Mielke.cc/" rel="noreferrer" target="_blank">http://Mielke.cc/</a><br>
EMail: Dave@Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke<br>
Phone: +1 613 726 0014 | Canada  K2A 1H7   |<br>
_______________________________________________<br>
This message was sent via the BRLTTY mailing list.<br>
To post a message, send an e-mail to: <a href="mailto:BRLTTY@brltty.app" target="_blank">BRLTTY@brltty.app</a><br>
For general information, go to: <a href="http://brltty.app/mailman/listinfo/brltty" rel="noreferrer" target="_blank">http://brltty.app/mailman/listinfo/brltty</a><br>
</blockquote></div>