You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Structure representing pending bit setting variables.
56
+
/** Structure representing pending bit setting variables. */
57
57
typedefstruct
58
58
{
59
-
boolenabled; /// If setting pending bit is enabled.
60
-
uint8_tshort_addr[NUM_SHORT_ADDRESSES][SHORT_ADDRESS_SIZE]; /// Array of short addresses of nodes for which there is pending data in the buffer.
61
-
uint8_textended_addr[NUM_EXTENDED_ADDRESSES][EXTENDED_ADDRESS_SIZE]; /// Array of extended addresses of nodes for which there is pending data in the buffer.
62
-
uint32_tnum_of_short_addr; /// Current number of short addresses of nodes for which there is pending data in the buffer.
63
-
uint32_tnum_of_ext_addr; /// Current number of extended addresses of nodes for which there is pending data in the buffer.
59
+
boolenabled; /**< If setting pending bit is enabled. */
60
+
uint8_tshort_addr[NUM_SHORT_ADDRESSES][SHORT_ADDRESS_SIZE]; /**< Array of short addresses of nodes for which there is pending data in the buffer. */
61
+
uint8_textended_addr[NUM_EXTENDED_ADDRESSES][EXTENDED_ADDRESS_SIZE]; /**< Array of extended addresses of nodes for which there is pending data in the buffer. */
62
+
uint32_tnum_of_short_addr; /**< Current number of short addresses of nodes for which there is pending data in the buffer. */
63
+
uint32_tnum_of_ext_addr; /**< Current number of extended addresses of nodes for which there is pending data in the buffer. */
64
64
} pending_bit_arrays_t;
65
65
66
-
// Structure representing a single IE record.
66
+
/* Structure representing a single IE record. */
67
67
typedefstruct
68
68
{
69
-
uint8_tp_data[NRF_802154_MAX_ACK_IE_SIZE]; /// Pointer to IE data buffer.
70
-
uint8_tlen; /// Length of the buffer.
69
+
uint8_tp_data[NRF_802154_MAX_ACK_IE_SIZE]; /**< Pointer to IE data buffer. */
70
+
uint8_tlen; /**< Length of the buffer. */
71
71
} ie_data_t;
72
72
73
-
// Structure representing IE records sent in an ACK message to a given short address.
73
+
/* Structure representing IE records sent in an ACK message to a given short address. */
74
74
typedefstruct
75
75
{
76
-
uint8_taddr[SHORT_ADDRESS_SIZE]; /// Short address of peer node.
77
-
ie_data_tie_data; /// Pointer to IE records.
76
+
uint8_taddr[SHORT_ADDRESS_SIZE]; /**< Short address of peer node. */
77
+
ie_data_tie_data; /**< Pointer to IE records. */
78
78
} ack_short_ie_data_t;
79
79
80
-
// Structure representing IE records sent in an ACK message to a given extended address.
80
+
/* Structure representing IE records sent in an ACK message to a given extended address. */
81
81
typedefstruct
82
82
{
83
-
uint8_taddr[EXTENDED_ADDRESS_SIZE]; /// Extended address of peer node.
84
-
ie_data_tie_data; /// Pointer to IE records.
83
+
uint8_taddr[EXTENDED_ADDRESS_SIZE]; /**< Extended address of peer node. */
84
+
ie_data_tie_data; /**< Pointer to IE records. */
85
85
} ack_ext_ie_data_t;
86
86
87
-
// Structure representing IE data setting variables.
87
+
/* Structure representing IE data setting variables. */
88
88
typedefstruct
89
89
{
90
-
ack_short_ie_data_tshort_data[NUM_SHORT_ADDRESSES]; /// Array of short addresses and IE records sent to these addresses.
91
-
ack_ext_ie_data_text_data[NUM_EXTENDED_ADDRESSES]; /// Array of extended addresses and IE records sent to these addresses.
92
-
uint32_tnum_of_short_data; /// Current number of short addresses stored in @p short_data.
93
-
uint32_tnum_of_ext_data; /// Current number of extended addresses stored in @p ext_data.
90
+
ack_short_ie_data_tshort_data[NUM_SHORT_ADDRESSES]; /**< Array of short addresses and IE records sent to these addresses. */
91
+
ack_ext_ie_data_text_data[NUM_EXTENDED_ADDRESSES]; /**< Array of extended addresses and IE records sent to these addresses. */
92
+
uint32_tnum_of_short_data; /**< Current number of short addresses stored in @p short_data. */
93
+
uint32_tnum_of_ext_data; /**< Current number of extended addresses stored in @p ext_data. */
94
94
} ie_arrays_t;
95
95
96
-
// TODO: Combine below arrays to perform binary search only once per Ack generation.
96
+
/* TODO: Combine below arrays to perform binary search only once per ACK generation. */
0 commit comments