Beja Expert Licensed User Longtime User Nov 30, 2013 #1 Hi all, having a hard time with memory mess up.. the first time I run a bluetooth test app it works fine, the second time it connects normally but no transmission or receive until I restart the device. Any clue? thanks in advance..
Hi all, having a hard time with memory mess up.. the first time I run a bluetooth test app it works fine, the second time it connects normally but no transmission or receive until I restart the device. Any clue? thanks in advance..
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2013 #2 Why do you think that it is related to memory issues? Do you get an out of memory error? Upvote 0
Beja Expert Licensed User Longtime User Dec 1, 2013 #3 Hi Erel, and thanks for the timely response.. I was communicating with a PC via bt module, using this communication tool .. everything is fine.. I could close the b4a app and open it again without problem.. but when I close the communication utility application, (not just close the port) in the PC and run it again, then I must also restart the b4a app as well. because the b4a connects successfully to the bt module but there is no info exchanged between the module and the PC. Upvote 0
Hi Erel, and thanks for the timely response.. I was communicating with a PC via bt module, using this communication tool .. everything is fine.. I could close the b4a app and open it again without problem.. but when I close the communication utility application, (not just close the port) in the PC and run it again, then I must also restart the b4a app as well. because the b4a connects successfully to the bt module but there is no info exchanged between the module and the PC.
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2013 #4 The Android seems to reconnect successfully but no data is sent, right? Upvote 0
Beja Expert Licensed User Longtime User Dec 1, 2013 #5 That's right.. I know the connection is established because the bt module's LED stops flashing and steady. but then no data is shown on the Commix terminal.. can't send data eather. -No error message. Upvote 0
That's right.. I know the connection is established because the bt module's LED stops flashing and steady. but then no data is shown on the Commix terminal.. can't send data eather. -No error message.
P persianpowerman1 Active Member Licensed User Longtime User Dec 1, 2013 #6 yea.. ive experienced the exact same thing.. after 2-3 times of using my blue tooth chat.. unless i restart the phone. . no data gets in/out!? i feel .. it may be cz we're not closing the connection properly or the blu tooth object is not being ended correctly. . not sure.. waiting for a right response Upvote 0
yea.. ive experienced the exact same thing.. after 2-3 times of using my blue tooth chat.. unless i restart the phone. . no data gets in/out!? i feel .. it may be cz we're not closing the connection properly or the blu tooth object is not being ended correctly. . not sure.. waiting for a right response
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2013 #7 You can try to disable and reenable the Bluetooth. Upvote 0