Ive,created a bluetooth connection page in which one phone connects to the other ,and when i press a button it sends a message to that other device but i dont know how to send that message

and if you could i would love for you to check my code if its good or not thx

One way to connect one phone connects to the other ,and when i press a button it sends a message to that other device And it shows how to send that message

is to use this extension by Juan Antonio