S145 SoftDevice for nRF54LM20 API documentation 10.0.0
Loading...
Searching...
No Matches
ble_ranges.h
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice, this
9 * list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form, except as embedded into a Nordic
12 * Semiconductor ASA integrated circuit in a product or a software update for
13 * such product, must reproduce the above copyright notice, this list of
14 * conditions and the following disclaimer in the documentation and/or other
15 * materials provided with the distribution.
16 *
17 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
18 * contributors may be used to endorse or promote products derived from this
19 * software without specific prior written permission.
20 *
21 * 4. This software, with or without modification, must only be used with a
22 * Nordic Semiconductor ASA integrated circuit.
23 *
24 * 5. Any software provided in binary form under this license must not be reverse
25 * engineered, decompiled, modified and/or disassembled.
26 *
27 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
28 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
29 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
30 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
31 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
33 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
36 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 */
38
59#ifndef BLE_RANGES_H__
60#define BLE_RANGES_H__
61
62#ifdef __cplusplus
63extern "C" {
64#endif
65
66#define BLE_SVC_BASE 0x60
67#define BLE_SVC_LAST 0x6B
69#define BLE_GAP_SVC_BASE 0x6C
70#define BLE_GAP_SVC_LAST 0xA0
72#define BLE_GATTC_SVC_BASE 0xA1
73#define BLE_GATTC_SVC_LAST 0xAC
75#define BLE_GATTS_SVC_BASE 0xAD
76#define BLE_GATTS_SVC_LAST 0xBC
80#define BLE_EVT_INVALID 0x00
82#define BLE_EVT_BASE 0x01
83#define BLE_EVT_LAST 0x0F
85#define BLE_GAP_EVT_BASE 0x10
86#define BLE_GAP_EVT_LAST 0x2F
88#define BLE_GATTC_EVT_BASE 0x30
89#define BLE_GATTC_EVT_LAST 0x4F
91#define BLE_GATTS_EVT_BASE 0x50
92#define BLE_GATTS_EVT_LAST 0x6F
96#define BLE_OPT_INVALID 0x00
98#define BLE_OPT_BASE 0x01
99#define BLE_OPT_LAST 0x1F
101#define BLE_GAP_OPT_BASE 0x20
102#define BLE_GAP_OPT_LAST 0x3F
104#define BLE_GATT_OPT_BASE 0x40
105#define BLE_GATT_OPT_LAST 0x5F
107#define BLE_GATTC_OPT_BASE 0x60
108#define BLE_GATTC_OPT_LAST 0x7F
110#define BLE_GATTS_OPT_BASE 0x80
111#define BLE_GATTS_OPT_LAST 0x9F
115#define BLE_CFG_INVALID 0x00
117#define BLE_CFG_BASE 0x01
118#define BLE_CFG_LAST 0x1F
120#define BLE_CONN_CFG_BASE 0x20
121#define BLE_CONN_CFG_LAST 0x3F
123#define BLE_GAP_CFG_BASE 0x40
124#define BLE_GAP_CFG_LAST 0x5F
126#define BLE_GATT_CFG_BASE 0x60
127#define BLE_GATT_CFG_LAST 0x7F
129#define BLE_GATTC_CFG_BASE 0x80
130#define BLE_GATTC_CFG_LAST 0x9F
132#define BLE_GATTS_CFG_BASE 0xA0
133#define BLE_GATTS_CFG_LAST 0xBF
140#ifdef __cplusplus
141}
142#endif
143#endif /* BLE_RANGES_H__ */
144