- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried to translate this KBA228410 into Japanese.
Counting the Number of ADV Packets Sent Over the Air During Advertisement in PSoC6 BLE – KBA228410
==========
タイトル:PSoC6 BLEでアドバタイズメント中に無線送信されるADVパケットの数をカウントする
PSoC 6 BLEでCy_BLE_SetCustomEventMask(uint32_t mask) API関数を利用して、無線送信されるアドバタイズパケットの数を数える事が出来ます。
このAPIは、BLEミドルウェア PDLドキュメントを参照してください。
PSoC CreatorでBLEコンポーネントを右クリックし「Open PDL Document」を選択、又はC:/Program Files(x86)/Cypress/PDL/3.1.0/doc/ble_api_reference_manual/html/index.htmlを開いてください。
使用法:
BLE通信を開始した後、CY_BLE_EVT_STACK_ONイベントで、Cy_BLE_SetCustomEVentMask(uint32_t mask)関数をmask値CY_BLE_ADV_TX_EVENT_MASKで呼び出します。
case CY_BLE_EVT_STACK_ON:
apiResult = Cy_BLE_GAPP_StartAdvertisement(CY_BLE_ADVERTISING_FAST, CY_BLE_PERIPHERAL_CONFIGURATION_0_INDEX);
apiResult = Cy_BLE_SetCustomEventMask(CY_BLE_ADV_TX_EVENT_MASK);
break;
この関数呼び出しが成功すると、イベントコールバック関数でCY_BLE_EVT_SET_EVENT_MASK_COMPLETEが生成されます。
case CY_BLE_EVT_SET_EVENT_MASK_COMPLETE:
break;
アドバタイズメント中に各ADVパケットが送信されると、CY_BLE_EVT_GAP_ADV_TXイベントが生成されます。
注意:
アドバタイズメントイベントで発生するCY_BLE_EVT_GAP_ADV_TXイベントの数は、選択したアドバタイズメントチャネルの数に依存します。
==========
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Omoi-san
PSoC6 BLEでアドバタイズメント中に無線送信されるADVパケットの数をカウントする- KBA228410- Community Translated (JA)
Your translation has been released.
Sorry for the delayed response.
You will be receive the point as a token of appreciation.
Thanks for your contribution.
Regards,
Jenna