blob: 755899cde6b9cf95af27d09e70500a3e4fe3d20c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*******************************************************************************
* Copyright (C) ST-Ericsson SA 2011
* License terms: 3-clause BSD license
******************************************************************************/
#ifndef INCLUSION_GUARD_R_Z_PROTOCOL_H
#define INCLUSION_GUARD_R_Z_PROTOCOL_H
/**
* @addtogroup ldr_communication_serv
* @{
* @addtogroup z_family
* @{
* @addtogroup z_protocol Z Protocol
* Functionalities for handling Z commands. All Z commands are not decoded
* in this layer, it is resent to the application layer for decoding
* and executing.
*
* @{
*/
/*******************************************************************************
* Includes
******************************************************************************/
#include "t_z_protocol.h"
#include "error_codes.h"
#include "t_communication_service.h"
#include "t_z_network.h"
/*******************************************************************************
* Declaration of functions
******************************************************************************/
/**
* Decode received command, and execute.
*
* @param [in] Communication_p Communication module context.
* @param [in] Packet_p Pointer to the received buffer.
*
* @retval E_SUCCESS After successful execution.
*/
ErrorCode_e Z_Family_Process(const Communication_t *const Communication_p, const void *const Packet_p);
/** @} */
/** @} */
/** @} */
#endif //INCLUSION_GUARD_R_Z_PROTOCOL_H
|