BLE中Profile是什麼意思?

剛開始接觸BLE經常搞不清楚service,characteristic,profile,attribute……(服務,特性,規範,屬性……)等詞。前面幾天博客瞭解了其他名詞唯獨profile沒了解。下面英文摘抄至BLE handbook

A profile is a description of how a device functions for a given use case. Within a profile, roles are defined. A profile role defines a device that can act as one part of an ecosystem of devices that enable the profile’s use case.Each profile role defines the set of services that a device must implement. Some profile roles don’t
require any services, others require just one service, and others require many services. Typically,profiles define two roles, for example, a reporter role and a monitor role. The reporter role would
require one service and would be implemented in a peripheral device. A monitor role would not require any services and would be implemented in a central device.
profile描述了某個應用場景中設備有什麼功能(執行什麼工作)。在一個profile裏會定義好角色。角色會包含一個服務service或者多個service或者沒有。profile一般定義兩個角色,例如防丟器中定義了一個報告者和監視者。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章