Android Question Read the data transmitted by Bluetooth Laser Telemeter

Fabio68

Member
Licensed User
Hi, I'm creating an application that calculates the amount of material necessary for the construction of certain construction works. The program, after entering the data relating to height and length in the text boxes to obtain the surface and perimeter of a wall, displays the relative results in two specific labels and at the same time displays all the necessary material in a list and the quantities thanks to a calculation that I impose on them by carrying out specific mathematical formulas. So far so good, the application works wonderfully and I achieved the goal but, I would like to be able to enter the data using a Bluetooth laser rangefinder, instead of doing it manually. The one in my possession is from a famous brand which provides itself with an application that I have installed on my mobile phone and works correctly. I tried to modify an application found in the forum in a test program, the point is this: after starting the app the device connects but, when I start the measurement, nothing happens.
I attach the copy of the test program and I hope you, please, can give me a tip on the matter. I state that I am not a programmer but I have a passion for computer science and the B4A language helps me a lot. Thank you in advance

Fabio
 

Attachments

  • Test Bluetooth.zip
    507.9 KB · Views: 193

imbault

Well-Known Member
Licensed User
Longtime User
Can you give the reference of the device you are using? and links to provided programming documentation
 
Upvote 0

imbault

Well-Known Member
Licensed User
Longtime User
Do you have a piece of code, you received with the device? whatever the language
 
Upvote 0

Fabio68

Member
Licensed User
No no code, the application they give is connected to the device and shows the reading in a text label.
The test application that I prepared manages to connect to the device but when I read from the rangefinder it does not read the data, I think it is due to the fact that something is missing in my code to be able to do it.
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
try using the nRF App to check the data..

then use the BLE example to start dev your App B4X
 
Upvote 0

Fabio68

Member
Licensed User
Thanks for your help. I will let you know....
 
Upvote 0

emexes

Expert
Licensed User
Better late than never and might be useful for other people trying to connect to Bosch laser distance measuring devices via bluetooth too :

https://www.eevblog.com/forum/proje...0-laser-measuring-tape/msg1331649/#msg1331649

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…