[BRLTTY] Brlapi crashes when watching parameter
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Mar 13 16:22:10 UTC 2025
Hello,
Peter Lecky, le jeu. 13 mars 2025 11:33:59 +0100, a ecrit:
> Do i understand it well when i thing that if i register watcher e.g.
>
> deviceModel parameter, then my watcher should be called whenewer device model changes? E.g. when some braille device connects via bluetooth, then there is a new device name?
> It seems that watcher is called immediately after registration, but not later, when there is connection or disconnection of braille device.
Note that callbacks are called only when calling some brlapi function,
not in a separate thread created by brlapi or such. You can e.g. call
the brlapi_pause() function if you want callbacks to be called in a
separate thread.
Samuel
More information about the BRLTTY
mailing list