aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/Container.h
blob: 1f7ea4a179ab231015727136deaf686b88b7db53 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef CONTAINER_H
#define CONTAINER_H
#include "include.h"
#include <PMR/Common/MessageContainer.pb-c.h>
#include <PMR/Common/MessageType.pb-c.h>

MessageContainer createContainer(MessageType type, char* token, protobuf_c_boolean completed, void* response, size_t (*packPtr)(void*, uint8_t*), size_t (*sizePtr)(void*));
void receive_callback(char* buffer, size_t length);

#endif //CONTAINER_H