Suppose I have two applications. When you click on the button in the first device, it must transfer the command to another, so that another ... let's say it shows the text.
Question: how to send signals via bluetooth to the second device so that, when sending a certain command from the first device, the second “word” will process this command in the listener?
PS By command, I mean any message, be it a string or a number, or something else that can be transmitted and recognized. Both devices will have bluetooth enabled, if required - there will be a manual configuration.