added radio and MAC generic return values to allow applications finding out whether the packet was transmitted

This commit is contained in:
fros4943 2009-11-13 08:59:22 +00:00
parent eded6497f2
commit 26bb5ecd21
2 changed files with 13 additions and 2 deletions

View file

@ -42,7 +42,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: radio.h,v 1.5 2007/05/25 08:05:24 adamdunkels Exp $
* $Id: radio.h,v 1.6 2009/11/13 08:59:22 fros4943 Exp $
*/
/**
@ -75,6 +75,12 @@ struct radio_driver {
int (* off)(void);
};
/* Generic radio return values. */
enum {
RADIO_TX_OK,
RADIO_TX_ERR,
};
#endif /* __RADIO_H__ */
/** @} */