BLE or classic

Discuss the company and its products.
zdravko
Posts: 16
Joined: 20:00, 19 Jan 2015

BLE or classic

Postby zdravko » 12:17, 04 Dec 2015

Is BLE the same thing as classic Bluetooth in an API sense?

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: BLE or classic

Postby Fredrik » 13:45, 04 Dec 2015

No, it is quite different.

You scan for devices in a similar manner, but with BLE you can get extra advertising data. (It is this advertising data that is used to create the Beacon protocols.)

You can pair and connect to devices in a similar manner, but once connected things become different. Classic Bluetooth uses a plain serial protocol (reading and writing a byte-stream), but BLE uses something called GATT, with a tree of Services, Characteristics and Descriptors. On Characteristics and Descriptors you can do reading and writing. On Characteristics you can get Notifications, which is the remote device sending you updated values whenever the Characteristic changes.

Does this answer your question?

zdravko
Posts: 16
Joined: 20:00, 19 Jan 2015

Re: BLE or classic

Postby zdravko » 13:59, 04 Dec 2015

Thanks.
Don't classic Bluetooth devices also use GATT services and characteristics?

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: BLE or classic

Postby Fredrik » 14:03, 04 Dec 2015

They do not. Classic Bluetooth uses a number of Profiles on top of the "RFCOMM" serial protocol.

zdravko
Posts: 16
Joined: 20:00, 19 Jan 2015

Re: BLE or classic

Postby zdravko » 15:10, 04 Dec 2015

Ok, I see. This integration would be really hard, if possible at all.
Thanks.

arvindpdmn
Posts: 2
Joined: 08:16, 14 Dec 2015

Re: BLE or classic

Postby arvindpdmn » 08:19, 14 Dec 2015

I am using HC-05 which BT 2.0. Does this mean that it is not supported by EvoThings? If I have to write code to support this, where should I start? Thx


Return to “General discussion”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests