- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to determine exactly when advertisement packets are transmitted. In the Register Technical Reference Manual I found the ADV_TX_INTR bit within BLE_BLELL_ADV_INTR, but it doesn't seem to be working. I've set the ADV_TX_EN bit within BLE_BLELL_ADV_CONFIG. Has anyone else gotten this to work?
Thanks,
Tom
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First enable ADV_TX_EN in BLE_BLELL_ADV_CONFIG:
CY_SET_REG32(CYREG_BLE_BLELL_ADV_CONFIG,CY_GET_REG32(CYREG_BLE_BLELL_ADV_CONFIG)|0x00000004);
Now start the advertisement inside CYBLE_EVT_STACK_ON using CyBle_GappStartAdvertisement(CYBLE_ADVERTISING_FAST);
This should set the ADV_TX_INTR bit in BLE_BLELL_ADV_INTR once the ADV packet is transmitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First enable ADV_TX_EN in BLE_BLELL_ADV_CONFIG:
CY_SET_REG32(CYREG_BLE_BLELL_ADV_CONFIG,CY_GET_REG32(CYREG_BLE_BLELL_ADV_CONFIG)|0x00000004);
Now start the advertisement inside CYBLE_EVT_STACK_ON using CyBle_GappStartAdvertisement(CYBLE_ADVERTISING_FAST);
This should set the ADV_TX_INTR bit in BLE_BLELL_ADV_INTR once the ADV packet is transmitted