send a String over Bluetooth
in
Contributed Library Questions
•
2 years ago
Hello all,
i want to make an application which sends a welcome text to a phone which has Bluetooth turned on.
Is it somehow possible to send a string with the BluetoothDesktop library to a Bluetooth device?
I read about Bluejacking and know that i've to send a vCard over the OBEX protocol to the device.
But if it's not possible to send it without a connection. Is it possible to connect to a device and send it with the writeUFT() method?
I tried to connect to a device, but then it always started to ask me for a pin. And i can't enter a pin on my application, because it shouldn't need a keyboard. Is it somehow possible to set a default pin and then send it with the writeUFT()?
btw, the Bluejacking method would be the better one :)
many thanks in advice
1