Revision 1587
wireless: core send function and ack function done
wireless.h | ||
---|---|---|
76 | 76 |
/**@brief high priority, handle immediately **/ |
77 | 77 |
#define HIGH_PRIORITY UINT8_C(1) |
78 | 78 |
|
79 |
/**@brief packet still in sending phase **/ |
|
80 |
#define SENDING UINT8_C(0) |
|
81 |
|
|
82 |
/**@brief packet was send successfully **/ |
|
83 |
#define ACK_OK UINT8_C(1) |
|
84 |
|
|
85 |
/**@brief packet failure - no acknowledgment **/ |
|
86 |
#define ACK_FAILURE UINT8_C(2) |
|
87 |
|
|
88 |
/**@brief packet failure - network too busy **/ |
|
89 |
#define CCA_FAILURE UINT8_C(3) |
|
90 |
|
|
79 | 91 |
/**@} **/ // end defines group |
80 | 92 |
|
81 | 93 |
|
... | ... | |
112 | 124 |
// the ack function |
113 | 125 |
|
114 | 126 |
/**@brief Returns the number of acknowledgment errors. **/ |
115 |
int8_t wl_ack_error(void); |
|
127 |
uint8_t wl_ack_error(void);
|
|
116 | 128 |
|
117 | 129 |
/**@brief Checks a specific packet for the acknowledgement status. **/ |
118 | 130 |
int8_t wl_ack_check(uint8_t packet); |
Also available in: Unified diff