Android Question Null receiver error

mterveen

Member
Licensed User
Longtime User
i get the error below sporadically when i first send data to a bluetooth device and get a response back. the message says the error occurred on line xxx, which is an "end sub" line!!! i need help trying to figure out the error message and what is really happening. thanks.

 

mterveen

Member
Licensed User
Longtime User
the latest version. i'll compile in release mode and try it this weekend. again, it happens inconsistently. the service is started immediately on a successful connection to the bluetooth module (which happens immediately on program startup). perhaps there is some delay that is necessary before i try to interact with the BT module. however, i am monitoring the communications on the bluetooth side (and also with a saleae logic analyzer) and it does get the data being sent via astreams.write2 but the b4a program fails on receipt of the bytes requested from the bluetooth module. does the error message above indicate in any way what line of code is causing the issue? or does it point to the "End Sub" line by default because it is some time of "generic" error?

i'll see if i can find a routine to make it fail consistently.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…