hello there i have basic question about BLE. what is difference between link layer and GAP?? i know about host and controller. but in both layer there is advertisement and scanning. then what is difference between them??
hello there i have basic question about BLE. what is difference between link layer and GAP?? i know about host and controller. but in both layer there is advertisement and scanning. then what is difference between them??
Hi rushin. Link and GAP (Generic Access Profile) are two layers of the BT Smart (LE) stack which are living on top of each other. If you are using Generic Access Profile (it's optional but most of the applications today are deployed on top of GAP - which is the last layer which is considered as part of certified BT Smart stack) then your stack is definitely implementing Link layer which is sitting just on top of Physical layer (actual radio waves).
I guess some deeper study of LE stack will be necessary if you want to understand these details but in a nutshell:
On top of these GAP profiles live real applications. Some of them can be just simple set of rules how to work with these objects (e.g. "Temperature" app will just take care to keep one GATT value updated with the temperature data), some of them can be pretty complex. That's up to you...
Cheers Jan
where i get the details about each and every profile like GAP,GATT etc.. thank you.
where i get the details about each and every profile like GAP,GATT etc.. thank you.