

#ifndef ONENET_ERROR_H_
#define ONENET_ERROR_H_

#define NBIOT_ERR_OK             0
#define NBIOT_ERR_BADPARAM      -1
#define NBIOT_ERR_NO_MEMORY     -2
#define NBIOT_ERR_NOT_SUPPORT   -3
#define NBIOT_ERR_NOT_FOUND     -4
#define NBIOT_ERR_SOCKET        -5
#define NBIOT_ERR_TIMEOUT       -6
#define NBIOT_ERR_INVALID_URI   -7
#define NBIOT_ERR_REG_FAILED    -8
#define NBIOT_ERR_NOT_REGISTER  -9
#define NBIOT_ERR_SERVER_RESET  -10
#define NBIOT_ERR_REGISTERED    -11
#define NBIOT_ERR_PENDING       -12
#define NBIOT_ERR_BS_FAILED     -13

#endif /* ONENET_ERROR_H_ */
