- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried to translate this KBA228425 into Japanese.
Updating an Attribute’s Value in GATT DB of a BLE GATT Server in PSoC 6 BLE – KBA228425
==========
タイトル:PSoC 6 BLEのBLE GATTサーバのGATT DBの属性値を更新する
BLE GATTサーバでは、プロファイル関連データはGATTデータベースと呼ばれるデータベースに構造化されます。
GATTデータベースは、サーバ上に存在するサービス、特性(キャラクタリスティック)、特性記述子(キャラクタリスティック デスクリプタ)、宣言(デクラレーション)で構成されます。
PSoC® Creator™では、これらの属性(特性、記述子)は、BLEコンポーネント コンフィギュレーション ウィンドウのProfilesタブで初期化できます。
実行時に特性の値を更新する必要がある場合、アプリケーションは次のようにAPIとマクロを使用して行うことが出来ます。
- サーバ自身が値をローカルで更新する必要がある場合:GATT特性は、多くの場合GATTクライアントが読み取るようなスイッチの状態やセンサ出力等、アプリケーションでリアルタイムの値を反映するために使用されます。特性の値を更新するために、アプリケーションはCy_BLE_GATTS_WriteAttributeValueLocal() API関数を使用します。
- GATTクライアントが書き込み要求を送ったため、値を更新する必要がある場合:この場合は、Cy_BLE_GATTS_WriteAttributeValuePeer() API関数を使用します。
詳細は、PSoC CreatorでHelp > Documentation > Peripheral Driver Libraryを開いて、PDLドキュメントを参照してください。
==========
BR,
Omoi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
We receive your translation, it will be published to KBA to Community.
I will get back to you after internal review, after that you will receive the point.
Please bear with me for the delayed the response,
Thanks for your contribution to CDC!
Will keep you update the status.
Thanks,
Jenna Jo