-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
host/iso: Add doxygen comments in the header file #1694
Conversation
nimble/host/include/host/ble_iso.h
Outdated
struct ble_iso_big_desc | ||
{ | ||
/** | ||
* The identifier of the BIG. Assigned by the Host when a new BIG is | ||
* created. The value shall be between 0x00 and 0xEF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick:
* created. The value shall be between 0x00 and 0xEF. | |
* created. |
IMO the possible values is redundant information as it's value assigned by the host, not a function parameter provided by the user.
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The maximum time in microseconds for transmission of PDUs of all BISes in | ||
* a BIG event. The value of BIG_Sync_Delay shall equal the time from the | ||
* anchor point to the BIG Synchronization point and shall be between | ||
* 0x0000EA and 0x7FFFFF. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, probably just a short description like below would be sufficient
/** | |
* The maximum time in microseconds for transmission of PDUs of all BISes in | |
* a BIG event. The value of BIG_Sync_Delay shall equal the time from the | |
* anchor point to the BIG Synchronization point and shall be between | |
* 0x0000EA and 0x7FFFFF. | |
*/ | |
/** | |
* The maximum time in microseconds for transmission of PDUs of all BISes in | |
* a BIG event. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The actual transport latency of transmitting payloads of all BISes in the | ||
* BIG in microseconds. The value shall be between 0x0000EA and 0x7FFFFF. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
/** | |
* The actual transport latency of transmitting payloads of all BISes in the | |
* BIG in microseconds. The value shall be between 0x0000EA and 0x7FFFFF. | |
*/ | |
/** | |
* The actual transport latency of transmitting payloads of all BISes in the | |
* BIG in microseconds. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The PHY used to create the BIG. The value shall be one of the following: | ||
* o BLE_HCI_LE_PHY_1M | ||
* o BLE_HCI_LE_PHY_2M | ||
* o BLE_HCI_LE_PHY_CODED | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The PHY used to create the BIG. The value shall be one of the following: | |
* o BLE_HCI_LE_PHY_1M | |
* o BLE_HCI_LE_PHY_2M | |
* o BLE_HCI_LE_PHY_CODED | |
*/ | |
/** | |
* The PHY used to create the BIG. The value can be one of the following: | |
* o BLE_HCI_LE_PHY_1M | |
* o BLE_HCI_LE_PHY_2M | |
* o BLE_HCI_LE_PHY_CODED | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The number of subevents per BIS in each BIG event. The value shall be | ||
* between 1 and 31 and shall be an integer multiple of BN. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The number of subevents per BIS in each BIG event. The value shall be | |
* between 1 and 31 and shall be an integer multiple of BN. | |
*/ | |
/** | |
* The number of subevents per BIS in each BIG event. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The time between two adjacent BIG anchor points in units of 1.25 ms. The | ||
* value shall be between 0x0004 and 0x0C80 (i.e. 5 ms to 4 s). | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The time between two adjacent BIG anchor points in units of 1.25 ms. The | |
* value shall be between 0x0004 and 0x0C80 (i.e. 5 ms to 4 s). | |
*/ | |
/** | |
* The time between two adjacent BIG anchor points in units of 1.25 ms. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The total number of BISes in the BIG. The value shall be between 1 and 31. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The total number of BISes in the BIG. The value shall be between 1 and 31. | |
*/ | |
/** | |
* The total number of BISes in the BIG. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The connection handles of all the BIS in the BIG. The value shall be | ||
* between 0x0000 and 0x0EFF. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The connection handles of all the BIS in the BIG. The value shall be | |
* between 0x0000 and 0x0EFF. | |
*/ | |
/** | |
* The connection handles of all the BIS in the BIG. | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* The PHY parameter is a bit field that indicates the PHY used for | ||
* transmission of PDUs of BISes in the BIG. The value can be one of the | ||
* following: | ||
* o BLE_HCI_LE_PHY_1M_PREF_MASK | ||
* o BLE_HCI_LE_PHY_2M_PREF_MASK | ||
* o BLE_HCI_LE_PHY_CODED_PREF_MASK | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The PHY parameter is a bit field that indicates the PHY used for | |
* transmission of PDUs of BISes in the BIG. The value can be one of the | |
* following: | |
* o BLE_HCI_LE_PHY_1M_PREF_MASK | |
* o BLE_HCI_LE_PHY_2M_PREF_MASK | |
* o BLE_HCI_LE_PHY_CODED_PREF_MASK | |
*/ | |
/** | |
* The PHY parameter is a bit field that indicates the PHY used for | |
* transmission of PDUs of BISes in the BIG. The value shall be one of the | |
* following: | |
* o BLE_HCI_LE_PHY_1M_PREF_MASK | |
* o BLE_HCI_LE_PHY_2M_PREF_MASK | |
* o BLE_HCI_LE_PHY_CODED_PREF_MASK | |
*/ |
nimble/host/include/host/ble_iso.h
Outdated
/** | ||
* Indicates the preferred method of arranging subevents of multiple BISes. | ||
* The value can be one of the following: | ||
* o 0x00 - Sequential | ||
* o 0x01 - Interleaved | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* Indicates the preferred method of arranging subevents of multiple BISes. | |
* The value can be one of the following: | |
* o 0x00 - Sequential | |
* o 0x01 - Interleaved | |
*/ | |
/** | |
* Indicates the preferred method of arranging subevents of multiple BISes. | |
* The value shall be one of the following: | |
* o 0x00 - Sequential | |
* o 0x01 - Interleaved | |
*/ |
and in other places
Adds missing structures and functions documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds missing structures and functions documentation.