H HaIm Member Licensed User Longtime User Oct 3, 2011 #1 Hi I have try to make communication between Samsung <-> Bluetooth module. AsyncStreams is recommended method. Where I can find exampe and sourcecode?: BangHead:
Hi I have try to make communication between Samsung <-> Bluetooth module. AsyncStreams is recommended method. Where I can find exampe and sourcecode?: BangHead:
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2011 #2 It should be similar to this example: http://www.b4x.com/forum/basic4andr...als/7669-asyncstreams-tutorial.html#post43578 Note that you should use AsyncStreams.Initialize and not InitializePrefix. Upvote 0
It should be similar to this example: http://www.b4x.com/forum/basic4andr...als/7669-asyncstreams-tutorial.html#post43578 Note that you should use AsyncStreams.Initialize and not InitializePrefix.
H HaIm Member Licensed User Longtime User Oct 4, 2011 #3 More detail of Async bluetooth communication, pleace Erel said: It should be similar to this example: http://www.b4x.com/forum/basic4andr...als/7669-asyncstreams-tutorial.html#post43578 Note that you should use AsyncStreams.Initialize and not InitializePrefix. Click to expand... What is interface: serial port or lan. I would like connect to bluetooth module. Can you collect all to one package (async.b4a). What all I must done, step by step. Upvote 0
More detail of Async bluetooth communication, pleace Erel said: It should be similar to this example: http://www.b4x.com/forum/basic4andr...als/7669-asyncstreams-tutorial.html#post43578 Note that you should use AsyncStreams.Initialize and not InitializePrefix. Click to expand... What is interface: serial port or lan. I would like connect to bluetooth module. Can you collect all to one package (async.b4a). What all I must done, step by step.
Erel B4X founder Staff member Licensed User Longtime User Oct 5, 2011 #4 There is no difference between different types of streams when working with AsycnStreams. You should first establish a connection as explained in the serial tutorial. Then initialize AsyncStreams with the input and output streams. Once AsyncStreams is initialized it behaves exactly as described in the tutorial. Upvote 0
There is no difference between different types of streams when working with AsycnStreams. You should first establish a connection as explained in the serial tutorial. Then initialize AsyncStreams with the input and output streams. Once AsyncStreams is initialized it behaves exactly as described in the tutorial.