BLE connection

Inquiry and support for Freematics products
FastZyx
Posts: 12
Joined: Thu Apr 16, 2015 8:12 pm

Re: BLE connection

Post by FastZyx »

I ca pair the device with passcode 000000, but then i can't connect to it. The property page of the device (on Win7 pc), in bluetooth services tab, show 'unknown service'

OK, i've read something about BLE. It works in a different way than previous versions, there is no SPP profile but everyone can build his own custom service to transmit custom data.

http://en.wikipedia.org/wiki/Bluetooth_low_energy
https://devzone.nordicsemi.com/question ... e-for-ble/

There are some apps in play store that can scan and read data from ble devices, for example BLE Tool (https://play.google.com/store/apps/deta ... tool&hl=en)
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: BLE connection

Post by stanley »

There is no pairing procedure for BLE device. You can do it like with a BT 2.1 device on your android device.
suwisa
Posts: 5
Joined: Mon Jun 20, 2016 3:00 pm

Re: BLE connection

Post by suwisa »

I also have the similar problem!!
I'm trying to develop an app using Android studio,
trying to connect Freematics ONE(ATmega328p) via samsung galaxy s3 and s5
I've already get device name(Bluno) and address, by coding "BluetoothSocket socket = device.createInsecureRfcommSocketToServiceRecord(UUID)"
but get an error in line "socket.connect();"
btw, I following code like this
http://android-er.blogspot.com/2015/07/ ... -with.html

Do you have any suggestions or could you give me for example code to connect the OBD with android.
sorry for my poor english.

Thank you
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: BLE connection

Post by stanley »

Are you using V3 or V4?
suwisa
Posts: 5
Joined: Mon Jun 20, 2016 3:00 pm

Re: BLE connection

Post by suwisa »

V4
suwisa
Posts: 5
Joined: Mon Jun 20, 2016 3:00 pm

Re: BLE connection

Post by suwisa »

Should I have to use GATT profile to develop my app?
please suggest me what to do..
many thanks
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: BLE connection

Post by stanley »

For V4, details about the BLE access can be found from the DFRobot Bluno page.
http://dfrobot.com/index.php?route=prod ... ct_id=1044
hammer5858
Posts: 1
Joined: Thu Feb 16, 2017 9:10 am

Re: BLE connection

Post by hammer5858 »

There is an app for iOS that makes using the HM-10 easy to use. It is for a single pin output. There is also a link the sketch for it. I used it with Arduino Nano, HM-10, a Relay, junction box, and an outlet to turn my room light off at night without getting out of my bed. The app is FatBeard HM10 here https://itunes.apple.com/us/app/fatbear ... 32512?mt=8
Post Reply