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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
/**
******************************************************************************
* @file appli_sensor_client.h
* @author BLE Mesh Team
* @brief Application interface for Sensor Mesh Models
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Liberty license
* SLA0044, the "License"; You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
* www.st.com/SLA0044
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APPLI_SENSOR_CLIENT_H
#define __APPLI_SENSOR_CLIENT_H
/* Includes ------------------------------------------------------------------*/
#include "types.h"
#include "sensors.h"
#include "mesh_cfg.h"
/* Exported macro ------------------------------------------------------------*/
/* Exported variables ------------------------------------------------------- */
/* Application Variable-------------------------------------------------------*/
/* Exported Functions Prototypes ---------------------------------------------*/
MOBLE_RESULT Appli_ConfigClient_Set(void);
MOBLE_RESULT Appli_SensorsClient_API(MOBLEUINT8 elementIndex,
MOBLEUINT16 msg_opcode,
MOBLEUINT8 *msg_params);
void Appli_Sensor_Descriptor_Status(const MOBLEUINT8 *pDescriptor,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Cadence_Status(const MOBLEUINT8 *pCadence,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Settings_Status(const MOBLEUINT8 *pSettings,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Setting_Status(const MOBLEUINT8 *pSetting,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Status(const MOBLEUINT8 *pStatus,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Column_Status(const MOBLEUINT8 *pColumn,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
void Appli_Sensor_Series_Status(const MOBLEUINT8 *pSeries,
MOBLEUINT32 length,
MOBLE_ADDRESS dstPeer,
MOBLEUINT8 elementIndex);
#endif /* __APPLI_SENSOR_CLIENT_H */
/******************* (C) COPYRIGHT 2020 STMicroelectronics *****END OF FILE****/
|