I have an idea for a B4J app that requires that the app creates a VCOM port for other pc apps to connect to.
Is this possible? I guess maybe not but maybe I am wrong.
If not possible, I could also realize this idea if I can transfer data between the B4J app and a c# windows app.
I don't think I can compile as a DLL, so what approach would present itself for this scenario?
Actually I did this once before but used a websocket and MQTT, but in this new case everything must be local to the pc.
Hopefully a stupid question with a simple answer!
Actually I did this once before but used a websocket and MQTT, but in this new case everything must be local to the pc.
Hopefully a stupid question with a simple answer!
No, I didn't try very hard after I realised that if one had to create a virtual com port object using Windows programming methods, it would probably mean using the driver development tools as surely the virtual com port IS a device driver. I then thought doing that with B4J would be pretty impossible. I'm no expert though!
The jSerial library allows you to open and communicate with other devices through the computer COM ports. It can also be used to communicate with Bluetooth devices over a virtual com port. (jBluetooth library is now available: https://www.b4x.com/android/forum/threads/jbluetooth-library.60184/)...