View Single Post
Old 04-21-2025, 12:40 AM   #19
hanginwithdaddo
Enthusiast
hanginwithdaddo doesn't litterhanginwithdaddo doesn't litter
 
hanginwithdaddo's Avatar
 
Posts: 32
Karma: 122
Join Date: Apr 2025
Location: Pennsylvania, USA
Device: Kindle Signature, 12th Gen.
This is actually rather simple to do, at least on Kindle OS 5.17.0. To send an event use:

Quote:
lipc-send-event AAA.BBB.CCC your_event_name -s some_data
To wait for the event above use:

Quote:
lipc-wait-event AAA.BBB.CCC your_event_name
If you invoke the second command first from one ssh session and then invoke the first command from another, you will see the lipc-wait-event command display the given event name along with "some_data" included in quotes. You can use anything you like for AAA, BBB, and CCC, but I suggest using strings that are unique to you. To not exit after receiving the event and wait for more events, add a "-m" option to the lipc-wait-event command invocation.

Last edited by hanginwithdaddo; 04-21-2025 at 12:44 AM. Reason: added option to include data with the event.
hanginwithdaddo is offline   Reply With Quote