ContikiMAC: Create and parse ContikiMAC header in special framer; Expanded framer interface

to allow for creating and securing frames in advance; Create and secure frames in advance when sending bursts; Do neither recreate nor resecure frames that come from phase
This commit is contained in:
kkrentz 2014-04-26 02:39:51 -07:00
parent c15a05aee1
commit 2cf7d98cad
22 changed files with 353 additions and 128 deletions

View file

@ -47,8 +47,13 @@ struct framer {
int (* length)(void);
int (* create)(void);
/** Creates the frame and calls LLSEC.on_frame_created() */
int (* create_and_secure)(void);
int (* parse)(void);
};
int framer_canonical_create_and_secure(void);
#endif /* FRAMER_H_ */