APS Lab
/
STM32F4_SmartMesh_QSL
SmartMesh QSL for STM32F4 version
Fork of COG-AD4050_QSL by
sm_clib/dn_common.h
- Committer:
- APS_Lab
- Date:
- 2018-05-02
- Revision:
- 0:8ca1e814a851
File content as of revision 0:8ca1e814a851:
/* Copyright (c) 2014, Dust Networks. All rights reserved. Commmon definitions. \license See attached DN_LICENSE.txt. */ #ifndef DN_COMMON_H #define DN_COMMON_H #include "inttypes.h" #include <stdbool.h> #include <string.h> //=========================== defines ========================================= #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif // error codes typedef enum { DN_ERR_NONE = 0, DN_ERR_BUSY, DN_ERR_NOT_CONNECTED, // only used in SmartMesh IP Manager DN_ERR_ALREADY, DN_ERR_MALFORMED } dn_err_t; //=== API return type //=========================== typedef ========================================= #endif