Community Translation - Updating an Attribute’s Value in GATT DB of a BLE GATT Server in PSoC 6 BLE – KBA228425

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HiOm_1802421
Level 5
Level 5
Distributor - Marubun (Japan)
50 replies posted 50 questions asked 25 replies posted

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とマクロを使用して行うことが出来ます。

  1. サーバ自身が値をローカルで更新する必要がある場合:GATT特性は、多くの場合GATTクライアントが読み取るようなスイッチの状態やセンサ出力等、アプリケーションでリアルタイムの値を反映するために使用されます。特性の値を更新するために、アプリケーションはCy_BLE_GATTS_WriteAttributeValueLocal() API関数を使用します。
  2. GATTクライアントが書き込み要求を送ったため、値を更新する必要がある場合:この場合は、Cy_BLE_GATTS_WriteAttributeValuePeer() API関数を使用します。

詳細は、PSoC CreatorでHelp > Documentation > Peripheral Driver Libraryを開いて、PDLドキュメントを参照してください。

==========

BR,

Omoi

0 Likes
1 Reply
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

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

Jenna Jo