Send String via Bluetooth

If you persist in posting snippets of code, snippets of help are what you are likely to receive.

Read the forum guidelines.

Post the whole code

Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.