- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to know how many packets were successfully transmitted by the BLE module.
I use the following methods, but sent ADV. packet.
Its cannot enter ble_tx_complete
Is there a more appropriate way to get the BLE module after sending successfully?
Or is there something wrong with my program?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MiLe_4471161,
I do not think Bluetooth stack allows such functionality to count the number of advertisement packets. Advertisement is just a way of letting know the existence of the device.
Regarding p_tx_complete_cback, this is a way to notify about data packet & not the advertisement packet. So I am doubtful if your code will work as per your expected behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MiLe_4471161,
I do not think Bluetooth stack allows such functionality to count the number of advertisement packets. Advertisement is just a way of letting know the existence of the device.
Regarding p_tx_complete_cback, this is a way to notify about data packet & not the advertisement packet. So I am doubtful if your code will work as per your expected behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems that the way I got from the API reference document is not feasible.
Is there any other way to get the number of tx adv. packet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately there is no way to count the number of adv packets.