Communitiy Transration – BLE_Dongle_CySmart Example Project in CY8CKIT-042-BLE Installer Rev *A Does Not Compile When Upgraded to PSoC® Creator™ 3.2 – KBA97686

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Dear Sirs and Madams,

I would like to translate KBA97686, please confirm to my work.

Regards,
Masashi

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

Hi, Masashi-san

Confirm to work this KBA.

Thanks

Jenna

Jenna Jo
0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Jenna-san,

I translated KBA97686 into Japanese.

We would appreciate it if you could confirm.

Regards,

Masashi

/***************************************************************************/

PSoC®Creator™3.2にアップグレードするとCY8CKIT-042-BLEインストーラーRev *のBLE_Dongle_CySmartサンプルプロジェクトがコンパイルされない - KBA97686

userc_45255 が 2015/06/15 21:04 に作成。userc_45255 が 2015/10/08 19:49 に変更。

Version: **

質問:

PSoC®Creator™3.2にアップグレードすると、CY8CKIT-042-BLEBluetooth®Low Energy(BLE)Pioneer KitインストーラーRev * Aで利用可能なBLE_Dongle_CySmartサンプルプロジェクトはコンパイルされません。この問題を解決するにはどうしたら良いですか?

回答:

CY8CKIT-042-BLE Pioneer Kitで利用可能なBLE_Dongle_CySmartサンプルプロジェクトにより、BLEドングルをCySmart PCツールで使用できるようになります。

PSoC Creator 3.2の一部として利用可能なBLEコンポーネントV2.0は署名付き書き込み機能をサポートし、

コンパイルフラグ「ATT_SIGNED_WRITE_SUPPORT」はデフォルトで有効になっています。

既存の(PSoC Creator 3.1でビルドされた)BLE_Dongle_CySmartプロジェクトがPSoC Creator 3.2にアップグレードされると、

この新しいマクロにより、プロジェクトにおいて次のコンパイルエラーが発生します。

.\CySmt_InterfaceModule\CySmt_protocol.c:299:12: error: 'Cmd_Signed_Write_Without_Response_Api' undeclared here (not in a function)

0, Cmd_Signed_Write_Without_Response_Api},

コンパイルエラーを削除するには、CySmt_CommandLayer.hファイルの行番号「142」を次のように、

-------------------------------------------------- -------------------------------------------------- ---------

// CYBLE_API_RESULT_T Cmd_Signed_Write_Without_Response_Api(Command_Format * currentCmd);

-------------------------------------------------- -------------------------------------------------- ---------

から

-------------------------------------------------- -------------------------------------------------- ---------

#ifdef ATT_SIGNED_WRITE_SUPPORT

CYBLE_API_RESULT_T Cmd_Signed_Write_Without_Response_Api(Command_Format * currentCmd);

#endif / * ATT_SIGNED_WRITE_SUPPORT * /

-------------------------------------------------- -------------------------------------------------- ---------

へ変更します。

この修正はCY8CKIT-042-BLEインストーラーの次のリビジョンで利用可能になります。

0 Likes