[BRLTTY] Brlapi under Android again
Samuel Thibault
samuel.thibault at ens-lyon.org
Wed May 7 13:38:13 UTC 2025
Hello,
Peter Lecky, le mer. 07 mai 2025 10:33:16 +0200, a ecrit:
> But there is a problem if there is no display when i connect to service. I
> receive change notification of online parameter immediately when some display
> successfuly connects to brltty which is ok, (i actually play with orbit 20 via
> bluetooth). But my app crashes when i try to call connection.enterTtyMode(0);
> in this case.
>
> I tried to check connection.isUnusable() (may be that connection must be reset
> after display reconnection) but it returns false, so no reason to reconnect.
>
> What should be wrong?
Without seeing your source code, it's very hard to tell.
> AndroidRuntime: Process: sk.stopka.corvus, PID: 12737
> AndroidRuntime: Illegal instruction
Are you sure your application didn't already call
connection.enterTtyMode before that? It does not make sense to call it
twice without a leaveTtyMode in between.
Also, the brltty logs can provide more details on the error.
Samuel
More information about the BRLTTY
mailing list