Sorry folks I know it is kind of Off topic to Node-Red, but I have to start somewhere.
Connecting devices is usually done via WiFi or Ethernet.
Can Bluetooth work?
I want to send messages (MQTT at a push) and am not sure how to get it all working.
MQTT would make life a lot easier as I then don't need to worry about protocols/formats.
It is all done inside MQTT.
But the mechanics of how to do that is beyond me and I don't really know where else to ask.
Most of the stuff I find on it is how to play audio - which I thought was the only use of BT....
But I then see you can send files via it, and some remote controls use BT as their comms method.
So it must be possible. Just getting into it is the part which has me stumped.
The issue I see is the fact the BT/BLE must be on the device, supported by whatever MQTT client that device might use, but you also need some form of BT/BLE transceiver within whatever transmitting distance it has.
In the case of the RPi, it has BT, but not sure if it is any good for file transfer... and then again how to get NR and MQTT to use it.
If the devices you want to use are ESP8266 or ESP32, then save your hair and stick with MQTT over WiFi
Depending on the devices you are referring too, and your use case...
Perhaps a lot of work... but using something like an ESP32 as a line powered "base station" that listens for incoming signals from battery powered BLE devices (another ESP32 using deep sleep?), and once it gets a signal, switches to WiFi and re-transmits it to your NR server via MQTT, then back to BLE for more listening.
Although you need to think about why you want to use Bluetooth rather than WiFi, BLE has some power advantages for small devices running on a battery, but cost wise WiFi chips like the ESP32 can be had for less than $1 in quantity, BLE also then requires you to setup some sort of receiver/hub like a Raspberry Pi whereas WiFi would use the existing infrastructure.