B4J Question B4J bluetooh possible?

ivanomonti

Expert
Licensed User
Longtime User
I need to have a mobile device dial the phone number of the id (button) through bluetooh, what do you recommend?
 

ivanomonti

Expert
Licensed User
Longtime User
If the PC and the phone are connected to the same network then it will be simpler to use MQTT.


thanks Erel, the MQTT solution seems better, but I have no documentation to implement it and I stopped in its manufacturer

mqtt.Initialize("mqtt", "tcp://m11.cloudmqtt.com:16496", clientId)

I would need to be able to (at the moment) to the device to make some zioni, like "call the customer to the humerus xxxxxx", "send an sms message to the number xxxxx"

devices can be different from android to ios
 
Upvote 0

ivanomonti

Expert
Licensed User
Longtime User
I'm trying the jBluetooh library where my iphone is connected but first I had to associate it to the pc, not bad, but now I would like to understand how to send an sms to the number selected by db from my iphone.

app b4j customer management > send message to the number xxxxxxxxx, the device takes over the message and sends it.

is it possible to do it or do i have to abandon the sms project from pc?
 
Upvote 0

ivanomonti

Expert
Licensed User
Longtime User
What is the question? You should use AsyncStreams to send anything you like to the phone and then send the SMS message from the phone.

Important example: [B4X] Network + AsyncStreams + B4XSerializator

I wouldn't use Bluetooth for this unless there is no other option.
I'm looking at the example that you have reported me and I'll see to study it, but in that case I have to create an app for the device that is listening and with b4j that makes forward the comenado.

At the moment I would have liked to send the comenado on the phone directly to the device and its default sms app.

forgive my English
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
O.T. Xenforo needs an "F7 command" (like B4X products, as I recently indicated to someone), to correct your typo in an entire thread.
In this case, "comenado", which is not english but even not italian ?.

[Let me joke, life gets harder every day :mad:]
 
Upvote 0
Top