Community Translation - Authorize BLE Server GATT DB to Specific BLE Clients - KBA219319

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 KBA219939 into Japanese.

Authorize BLE Server GATT DB to Specific BLE Clients - KBA219319

==========

タイトル:BLEサーバのGATT DBを特定のBLEクライアントに認証する

質問:

BLEサーバのGATT DBを特定のBLEクライアントに対して承認するにはどうすればよいですか。

回答:

権限を定義するには、次の操作を行います。

  1. BLEサーバプロジェクトで、(書き込み/読み取りプロパティを持っている)カスタム特性に対して、図1に示すように権限を「Authorization Required」にします。
  2. サーバファームウェアで、BLEクライアントアドレスをチェックして承認権限を与えます。CyBle_GattsDbAuthorize APIはGATTデータベースの承認権限を設定または解除します。  
    • 権限を付与するには、CyBle_GattsDbAuthorize(1); を呼び出します。
    • 権限を拒否するには、CyBle_GattsDbAuthorize(0); を呼び出します。

API関数は、BLEコンポーネント設定で権限が 「Authorization Required」に設定されている特定の特性に対してのみ有効であることに注意してください。

図1:BLEサーバ 特性設定

Image_1.png

==========

BR,

Omoi

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

Hello, Omoi-san

We receive your translation, it will be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Due to the current volume of works, 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