by schumi2000
Diff: pack_handle.h
- Revision:
- 0:32964091adbf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pack_handle.h Wed Aug 17 06:28:57 2016 +0000 @@ -0,0 +1,12 @@ +#ifndef __PACK_HANDLE_H +#define __PACK_HANDLE_H + +#include "mbed.h" +#include "config.h" + +uint16_t packing(const char *str, char *buffer, int ack, uint32_t msgType,uint64_t sequence); +int unpack(char *buffer, unsigned int bufferSize, char *data,uint8_t *ack, uint32_t *msgType,uint64_t *sequence); + + + +#endif \ No newline at end of file