NRF52_esb

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers nrf_esb_error_codes.h Source File

nrf_esb_error_codes.h

00001 /**
00002  * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
00003  * 
00004  * All rights reserved.
00005  * 
00006  * Redistribution and use in source and binary forms, with or without modification,
00007  * are permitted provided that the following conditions are met:
00008  * 
00009  * 1. Redistributions of source code must retain the above copyright notice, this
00010  *    list of conditions and the following disclaimer.
00011  * 
00012  * 2. Redistributions in binary form, except as embedded into a Nordic
00013  *    Semiconductor ASA integrated circuit in a product or a software update for
00014  *    such product, must reproduce the above copyright notice, this list of
00015  *    conditions and the following disclaimer in the documentation and/or other
00016  *    materials provided with the distribution.
00017  * 
00018  * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
00019  *    contributors may be used to endorse or promote products derived from this
00020  *    software without specific prior written permission.
00021  * 
00022  * 4. This software, with or without modification, must only be used with a
00023  *    Nordic Semiconductor ASA integrated circuit.
00024  * 
00025  * 5. Any software provided in binary form under this license must not be reverse
00026  *    engineered, decompiled, modified and/or disassembled.
00027  * 
00028  * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
00029  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00030  * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
00031  * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
00032  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00033  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
00034  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00035  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00036  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
00037  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00038  * 
00039  */
00040 #ifndef __NRF_ESB_ERROR_CODES_H__
00041 #define __NRF_ESB_ERROR_CODES_H__
00042 
00043 #ifdef __cplusplus
00044 extern "C" {
00045 #endif
00046 
00047 #define     NRF_ERROR_BUFFER_EMPTY              (0x0100)
00048 
00049 #define     NRF_ESB_ERROR_NOT_IN_RX_MODE        (0x0101)
00050 
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif