Community Translation - Authenticate CyBLE Central and Peripheral when Devices do not have IO Capabilities – KBA220286

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

cross mob
kama_1693131
Level 5
Level 5
Distributor - Marubun (Japan)
50 sign-ins 25 sign-ins 10 likes received

Hi,

I'd like to translate following KBA into Japanese.

Authenticate CyBLE Central and Peripheral when Devices do not have IO Capabilities – KBA220286

===========

Community Translated by https://community.cypress.com/people/kama_1693131                    

Version **

タイトル:表示・入力機能(IO Capabilities)が無いCyBLEセントラルとペリフェラルの認証

質問:

どのようにして表示・入力機能(IO Capabilities)が無いCyBLEセントラルとペリフェラルの認証を行いますか?

回答:

アプリケーションで以下のロジックを検討してください。

要件:

・セキュリティの使用:暗号化を用いた認証によるペアリング

・固定のパスキーを使用、表示能力設定はするが、表示させない

想定:

1.ペリフェラルは表示機能(display capability)設定が選択されており、既知のパスキー(123456)を使用

2.セントラルはキーボードの入力機能設定がされている

実装:

ペリフェラル側:

パスキーとして123456を設定するためにCyBle_GapFixAuthPassKey() APIを使用します。

CyBle_GapAuthReq(connHandle.bdHandle, &cyBle_authInfo);をコールし、認証かペアリングを開始します。

表示機能(display capability)が選択されている場合CYBLE_EVT_GAP_KEYINFO_EXCHNGE_CMPLT のイベントがトリガーされます。

パスキーを実際に表示させたくない場合には、このイベントハンドラに対するコードを一切追加しないでください。

もし認証に失敗した場合、CYBLE_EVT_GAP_AUTH_FAILEDがトリガーされます。

このイベントに対しては切断のAPI(切断要求の送信)をインクルードさせてください。

セントラル側:

認証要求の送信をします。キーボードの入力機能設定がされている場合、パスキー入力要求がトリガーされます。

認証応答に対して既知のパスキーである123456をファームウェアにハードコードします。

事実上認証は自動的に実施されます。

もし他のセントラル機器が接続を実施しようとした場合には表示されたパスキーの入力を求める表示が行われますが、

このセントラルは表示能力がないため表示されたパスキーの入力ができません。

上記の場合には認証失敗イベントがコールされます。

0 Likes
2 Replies
kama_1693131
Level 5
Level 5
Distributor - Marubun (Japan)
50 sign-ins 25 sign-ins 10 likes received

I forgot to unmarked this discussion as question.

Regards,

Matayoshi

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

Matayoshi-san,

Noted - it is received.

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

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

Please note that due to the current volume of works, Please bear with me for the delayed the response.

It can be delayed, but it will be surely processed.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo