BLE or classic
BLE or classic
Is BLE the same thing as classic Bluetooth in an API sense?
Re: BLE or classic
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?
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?
Re: BLE or classic
Thanks.
Don't classic Bluetooth devices also use GATT services and characteristics?
Don't classic Bluetooth devices also use GATT services and characteristics?
Re: BLE or classic
They do not. Classic Bluetooth uses a number of Profiles on top of the "RFCOMM" serial protocol.
Re: BLE or classic
Ok, I see. This integration would be really hard, if possible at all.
Thanks.
Thanks.
-
- Posts: 2
- Joined: 08:16, 14 Dec 2015
Re: BLE or classic
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: No registered users and 1 guest