is there an easy way to hook up playsound command to an event like connect (in iwrap 6.2)?
I am sorry to have to say this, but as I am aware it is not possible to do this using only iWRAP software.
You would need to use an attached MCU to monitor events on the UART output and in case of an event you would need to execute the playsound command.
The only event response-like behavior of iWRAP is SET CONTROL BIND that can execute a command when PIO state changes.
thank you for your reply. I only need to play a sound during connect/disconnet, so it should be possible to bind it on a carrier detect signal.