B4A usage of blouetooth technology

Beja

Expert
Licensed User
Longtime User
Hello all,

Bluetooth technology is getting importance every day in todays applications that involve communication technology. Until relatively recently, bluetooth technology was mainly used for chatting of friends with smnartphones.
To make the long story short, I beleive B4A's bluetooth library and technology should focus on business rather than on chatting of friends (or strangers), and with this I mean B4A treats BT as (real) alternative of serial ports found in PCs. Only young people who would look and (search) for bluetooth devices (near) them and then start chatting with (or teasing) each other.. example malls and other public places.
My wish here B4A departs from this approuch and put the cart behind the hourse. Treating BT like a serial comm port for business communications means to add 'Settings' in the library that will include MAC addr., key, bin/txt, message... etc. similar to port settings in serial communications. Of course I am not calling to trash the present search-pair-connect-go, but if the new suggested idea is implimented then B4A will open new horizon for bisiness applications developement.

I understand this is not wrapping of existing lib, but a new and original work that will require a lot of time and efforts from the team.
 
Last edited:

walterf25

Expert
Licensed User
Longtime User
Bluetooth

I don't think that the library has anything to do with your suggestion, I believe you can already accomplish all those things with the current library!

Cheers,
Walter
 

Beja

Expert
Licensed User
Longtime User
yes, Walter,
The lib includes all this and I am using it for my biz app.
What I am saying, the library is chatting-oriented, not business-oriented.
 

walterf25

Expert
Licensed User
Longtime User
Bluetooth

I really don't know why you're saying the library is chat oriented, if you refer to the example created by Erel, that's just an example of what sort of things you can do with this library! I use it as well for business purposes.

Cheers,
Walter
 

KitCarlson

Active Member
Licensed User
Longtime User
Beja,

I quickly and easily used the B4A bluetooth example and asyncstreams to reliably replace a RS232 interface. The interface is to an automotive engine controller, it has significant involvement with real-time setting and data presentation. It works at 115, 200 baud and is more reliable than my previous experience with wired USB to RS232 converter and PC. I am very pleased with B4A bluetooth capability.
 

Beja

Expert
Licensed User
Longtime User
Not true, look at all the apps some members developed using the BT lib, they have nothing to do with chatting.
You are right and I have a buiness app the 'am working on and it is fine... but still my statement holds true.
may be misunderstaning because I didn't say the current lib can't do biz comm
 

NJDude

Expert
Licensed User
Longtime User
I don't really know what do you mean by "business applications" the BT lib just allows to pair, connect and transmit info, which is pretty much its function, what you use it for has nothing to do with the library itself.
 
Last edited:

Beja

Expert
Licensed User
Longtime User
Guys,
By no means I am attacking the lib that I am happily using everyday in biz applications.. so please don't put me on the defense for nothing.
I am trying to suggest advancement of the technology to streamline the usage of the lib and simplify communication.
 

KitCarlson

Active Member
Licensed User
Longtime User
Examples are easily simplified by removing undesired features. Simply use connect if that is all you need.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
I beleive B4A's bluetooth library and technology should focus on business rather than on chatting of friends (or strangers), and with this I mean B4A treats BT as (real) alternative of serial ports found in PCs
The Serial library (together with AsyncStreams) is responsible for finding other BT devices, establishing connections and handling the communication. The data sent can be any type of data.

I think that you are confusing between one specific example and the actual library.
 

Beja

Expert
Licensed User
Longtime User
thanks Erel, and that's where I am stopping.
"finding devices"
I don't want to find any device.. I don't want to discover any either.
this is the legacy chat approuch (I think).
I have a list of mac addresses that I build and update using a different tool,
then list the macs in spinner. useres will select the device's mac addr. and talk to it right away. untill now I couldn't see the possibility to do that and found no working example.
 

Beja

Expert
Licensed User
Longtime User
I stand corrected,
I see logic difficulty to say that I have MCU bord that I designed and wrote firmware for it, and when I received the MCU from factory and soldered the components, immediatly started to 'find it' so I can 'discover' it

users should provide all parameters
 
Last edited:
Top