diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MeshLightingLPN/STM32_WPAN/app/models_if.h')
-rw-r--r-- | Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MeshLightingLPN/STM32_WPAN/app/models_if.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MeshLightingLPN/STM32_WPAN/app/models_if.h b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MeshLightingLPN/STM32_WPAN/app/models_if.h new file mode 100644 index 000000000..486e0bcec --- /dev/null +++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MeshLightingLPN/STM32_WPAN/app/models_if.h @@ -0,0 +1,50 @@ +/** + ****************************************************************************** + * @file models_if.h + * @author BLE Mesh Team + * @brief Mesh Modes interface file header + ****************************************************************************** + * @attention + * + * <h2><center>© Copyright (c) 2019 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 __MODELS_H +#define __MODELS_H + +/* Includes ------------------------------------------------------------------*/ +#include "types.h" + + +/* Exported macro ------------------------------------------------------------*/ +/* Exported variables ------------------------------------------------------- */ + +/* Exported Functions Prototypes ---------------------------------------------*/ + +void BLEMesh_ModelsInit(void); +void BLEMesh_ModelsProcess(void); +void BLEMesh_ModelsCommand(void); +MOBLE_RESULT BLEMesh_ModelsCheckSubscription(MOBLE_ADDRESS dst_peer, MOBLEUINT8 elementNumber); +MOBLEUINT8 BLEMesh_ModelsGetElementNumber(MOBLE_ADDRESS dst_peer); +void BLEMesh_ModelsDelayPacket(MOBLE_ADDRESS peer, MOBLE_ADDRESS dst, MOBLEUINT8 command, + MOBLEUINT8 const * data, MOBLEUINT32 length); +void BLEMesh_ModelsSendDelayedPacket(void); +MOBLEUINT8 BLEMesh_ModelsASCII_To_Char(MOBLEUINT8 tempValue); +MOBLE_RESULT MeshClient_SetRemotePublication(MOBLEUINT32 modelId, MOBLE_ADDRESS element_number, + MOBLEUINT16 msg_opcode, MOBLEUINT8 const *msg_buff, + MOBLEUINT32 length, MOBLEBOOL ack_flag, + MOBLEUINT8 isVendor); + +#endif /* __MODELS_H */ + +/******************* (C) COPYRIGHT 2019 STMicroelectronics *****END OF FILE****/ + |