Home
last modified time | relevance | path

Searched +full:offset +full:- +full:value +full:- +full:b (Results 1 – 25 of 127) sorted by relevance

123456

/Zephyr-Core-3.4.0/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_b_1_2.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.1
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.1
25 * @brief UUID for the Value V4 Characteristic
32 * @brief Attribute read call back for the Value V4 attribute
38 * @param offset Offset to start reading from
40 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
45 uint16_t len, uint16_t offset) in read_value_v4() argument
47 const uint8_t *value = attr->user_data; in read_value_v4() local
[all …]
Dservice_b_1_3.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.1
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.1
25 * @brief UUID for the Value V4 Characteristic
32 * @brief Attribute read call back for the Value V4 attribute
38 * @param offset Offset to start reading from
40 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
45 uint16_t len, uint16_t offset) in read_value_v4() argument
47 const uint8_t *value = attr->user_data; in read_value_v4() local
[all …]
Dservice_b_2_1.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.2
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.2
25 * @brief UUID for the Value V5 Characteristic
30 * @brief UUID for the Descriptor V5D4 (128-bit UUID) Characteristic
39 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
50 * @brief Attribute read call back for the Value V5 attribute
56 * @param offset Offset to start reading from
58 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
[all …]
Dservice_b_3_1.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.3
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.3
25 * @brief UUID for the Value V6 Characteristic
33 * @brief Attribute read call back for the Value V6 attribute
39 * @param offset Offset to start reading from
41 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
46 uint16_t len, uint16_t offset) in read_value_v6() argument
48 const uint8_t *value = attr->user_data; in read_value_v6() local
[all …]
Dservice_b_2_2.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.2
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.2
25 * @brief UUID for the Value V5 Characteristic
30 * @brief UUID for the Descriptor V5D4 (128-bit UUID) Characteristic
40 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
49 * @brief Attribute read call back for the Value V5 attribute
55 * @param offset Offset to start reading from
57 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
[all …]
Dservice_b_2_3.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.2
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.2
25 * @brief UUID for the Value V5 Characteristic
30 * @brief UUID for the Descriptor V5D4 (128-bit UUID) Characteristic
38 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
49 * @brief Attribute read call back for the Value V5 attribute
55 * @param offset Offset to start reading from
57 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
[all …]
Dservice_b_4_1.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.4
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.4
25 * @brief UUID for the Value V7 Characteristic
32 * @brief Attribute write call back for the Value V7 attribute
38 * @param offset Offset to start writing from
41 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
46 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v7() argument
48 uint8_t *value = attr->user_data; in write_value_v7() local
[all …]
Dservice_b_4_2.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.4
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.4
25 * @brief UUID for the Value V7 Characteristic
32 * @brief Attribute write call back for the Value V7 attribute
38 * @param offset Offset to start writing from
41 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
46 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v7() argument
48 uint8_t *value = attr->user_data; in write_value_v7() local
[all …]
Dservice_b_4_3.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.4
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.4
25 * @brief UUID for the Value V7 Characteristic
32 * @brief Attribute write call back for the Value V7 attribute
38 * @param offset Offset to start writing from
41 * @return Number of bytes written, or in case of an error - BT_GATT_ERR()
46 uint16_t len, uint16_t offset, uint8_t flags) in write_value_v7() argument
48 uint8_t *value = attr->user_data; in write_value_v7() local
[all …]
Dservice_b_3_2.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.3
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.3
25 * @brief UUID for the Value V6 Characteristic
35 * @brief Attribute read call back for the Value V6 attribute
41 * @param offset Offset to start reading from
43 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
48 uint16_t len, uint16_t offset) in read_value_v6() argument
50 const uint8_t *value = attr->user_data; in read_value_v6() local
[all …]
Dservice_b_3_3.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.3
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.3
25 * @brief UUID for the Value V6 Characteristic
35 * @brief Attribute read call back for the Value V6 attribute
41 * @param offset Offset to start reading from
43 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
48 uint16_t len, uint16_t offset) in read_value_v6() argument
50 const uint8_t *value = attr->user_data; in read_value_v6() local
[all …]
Dservice_b_5_2.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.5
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.5
25 * @brief UUID for the Value V8 Characteristic
32 * @brief Attribute read call back for the Value V8 attribute
38 * @param offset Offset to start reading from
40 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
45 uint16_t len, uint16_t offset) in read_value_v8() argument
47 const uint8_t *value = attr->user_data; in read_value_v8() local
[all …]
Dservice_b_5_3.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.5
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.5
25 * @brief UUID for the Value V8 Characteristic
32 * @brief Attribute read call back for the Value V8 attribute
38 * @param offset Offset to start reading from
40 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
45 uint16_t len, uint16_t offset) in read_value_v8() argument
47 const uint8_t *value = attr->user_data; in read_value_v8() local
[all …]
Dservice_b_5_1.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.5
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.5
25 * @brief UUID for the Value V8 Characteristic
51 * @brief Attribute read call back for the Value V8 attribute
57 * @param offset Offset to start reading from
59 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
64 uint16_t len, uint16_t offset) in read_value_v8() argument
66 const uint8_t *value = attr->user_data; in read_value_v8() local
[all …]
Dservice_b_1_1.c4 * SPDX-License-Identifier: Apache-2.0
7 * @brief Service B.1
9 * This code is auto-generated from the Excel Workbook
20 * @brief UUID for the Service B.1
25 * @brief UUID for the Value V4 Characteristic
58 * @brief Attribute read call back for the Value V4 attribute
64 * @param offset Offset to start reading from
66 * @return Number of bytes read, or in case of an error - BT_GATT_ERR()
71 uint16_t len, uint16_t offset) in read_value_v4() argument
73 const uint8_t *value = attr->user_data; in read_value_v4() local
[all …]
/Zephyr-Core-3.4.0/dts/bindings/adc/
Dnxp,lpc-lpadc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,lpc-lpadc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-divider:
22 clk-source:
27 voltage-ref:
31 Voltage reference selection. Corresponds to value of
34 - 0
35 - 1
36 - 2
[all …]
/Zephyr-Core-3.4.0/soc/arm/nuvoton_npcx/common/ecst/
Decst.py5 # SPDX-License-Identifier: Apache-2.0
10 # -i in_file.bin -o out_file.bin
11 # [-chip <name>] [-v|-vv]
12 # [-nohcrc] [-nofcrc] [-ph <offset>]
13 # [-flashsize <1|2|4|8|16>]
14 # [-spimaxclk <20|25|33|40|50>]
15 # [-spireadmode <normal|fast|dual|quad>]
112 INVALID_INPUT = -1
114 PAD_BYTE = b'\x00'
115 BYTES_TO_PAD = HDR_FW_HEADER_SIG_OFFSET - RESERVED_BYTES_OFFSET
[all …]
/Zephyr-Core-3.4.0/scripts/logging/dictionary/dictionary_parser/
Dutils.py5 # SPDX-License-Identifier: Apache-2.0
8 Utilities for Dictionary-based Logging Parser
16 bin_data = b''
18 with open(hexfile, "r", encoding="iso-8859-1") as hfile:
32 offset = str_ptr - section['start']
34 if offset < 0 or offset >= max_offset:
39 while (offset < max_offset) and (data[offset] != 0):
40 ret_str += chr(data[offset])
41 offset += 1
60 # No direct match on pointer value.
[all …]
/Zephyr-Core-3.4.0/subsys/net/lib/coap/
Dcoap.c4 * SPDX-License-Identifier: Apache-2.0
27 /* Values as per RFC 7252, section-3.1.
29 * Option Delta/Length: 4-bit unsigned integer. A value between 0 and
32 * 13: An 8-bit unsigned integer precedes the Option Value and indicates
34 * 14: A 16-bit unsigned integer in network byte order precedes the
35 * Option Value and indicates the Option Delta/Length minus 269.
52 static int insert_option(struct coap_packet *cpkt, uint16_t code, const uint8_t *value,
55 static inline void encode_u8(struct coap_packet *cpkt, uint16_t offset, uint8_t data) in encode_u8() argument
57 cpkt->data[offset] = data; in encode_u8()
58 ++cpkt->offset; in encode_u8()
[all …]
/Zephyr-Core-3.4.0/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
54 test_packet.offset = sizeof(test_payload); in test_prepare_nomem()
63 test_packet.offset = sizeof(test_payload); in test_prepare_nodata()
64 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
70 test_packet.offset = len + 1; in test_payload_set()
71 test_in.offset = 1; /* Payload marker */ in test_payload_set()
78 uint16_t offset = 0; in ZTEST() local
79 int8_t value[] = { 1, -1, INT8_MAX, INT8_MIN }; in ZTEST() local
110 ret = cbor_writer.put_s8(&test_out, &test_path, value[i]); in ZTEST()
113 zassert_mem_equal(test_out.out_cpkt->data + offset, in ZTEST()
[all …]
/Zephyr-Core-3.4.0/scripts/west_commands/runners/
Dbossac.py4 # SPDX-License-Identifier: Apache-2.0
6 '''bossac-specific runner (flash only) for Atmel SAM microcontrollers.'''
25 '''Runner front-end for bossac.'''
45 parser.add_argument('--bossac', default='bossac',
47 parser.add_argument('--bossac-port', default=DEFAULT_BOSSAC_PORT,
50 parser.add_argument('--speed', default=DEFAULT_BOSSAC_SPEED,
53 parser.add_argument('--delay', default=0, type=float,
66 """Run bossac --help and return the output as a list of lines"""
70 out = self.check_output([self.bossac, '--help']).decode()
97 # Get the EDT Node corresponding to the zephyr,code-partition
[all …]
/Zephyr-Core-3.4.0/scripts/dts/python-devicetree/src/devicetree/
Ddtlib.py2 # SPDX-License-Identifier: BSD-3-Clause
10 The top-level entry point of the library is the DT class. DT.__init__() takes a
29 "Exception raised for devicetree-related errors"
33 Represents a node in the devicetree ('node-name { ... };').
60 This gives x the value b"foo\0\x12\x34\x56\x78\x9A". Numbers in DTS are
61 stored in big-endian format.
70 'label_1: label_2: node { ... };' gives 'labels' the value
112 def name(self) -> str:
116 # Converted to a property to discourage renaming -- that has to be done
121 def unit_addr(self) -> str:
[all …]
/Zephyr-Core-3.4.0/boards/posix/nrf52_bsim/
Dargparse.c4 * SPDX-License-Identifier: Apache-2.0
35 static void cmd_trace_lvl_found(char *argv, int offset) in cmd_trace_lvl_found() argument
40 static void cmd_gdev_nbr_found(char *argv, int offset) in cmd_gdev_nbr_found() argument
45 static void cmd_testid_found(char *argv, int offset) in cmd_testid_found() argument
50 static void cmd_testlist_found(char *argv, int offset) in cmd_testlist_found() argument
57 static void cmd_nosim_found(char *argv, int offset) in cmd_nosim_found() argument
62 static void cmd_no_delay_init_found(char *argv, int offset) in cmd_no_delay_init_found() argument
67 static void cmd_no_sync_preinit_found(char *argv, int offset) in cmd_no_sync_preinit_found() argument
72 static void cmd_no_sync_preboot_found(char *argv, int offset) in cmd_no_sync_preboot_found() argument
77 static void cmd_max_resync_offset_found(char *argv, int offset) in cmd_max_resync_offset_found() argument
[all …]
/Zephyr-Core-3.4.0/drivers/watchdog/
Dwdt_intel_adsp.h1 /* SPDX-License-Identifier: Apache-2.0 */
12 * Get register offset for core
20 * Offset: 04h
29 * type: WO, rst: 00b, rst domain: nan
31 * FW write 76h as the code to set the PAUSED bit. Other value are ignored and has no effect.
38 * type: RW/1C, rst: 0b, rst domain: DSPLRST
47 * type: RW/1S, rst: 0b, rst domain: DSPLRST
58 * Offset: 08h
69 * This field contains the offset to the IP.
75 * type: RO, rst: 000b, rst domain: nan
[all …]
/Zephyr-Core-3.4.0/soc/arm/microchip_mec/common/reg/
Dmec_global_cfg.h4 * SPDX-License-Identifier: Apache-2.0
14 * Device and Revision ID 32-bit register
15 * b[7:0] = Revision
16 * b[15:8] = Device Sub-ID
17 * b[31:16] = Device ID
18 * This register can be accesses as bytes or a single 32-bit read from
31 /* Byte[0] at offset 0x1c is the 8-bit revision ID */
36 * Byte[1] at offset 0x1D is the 8-bit Sub-ID
67 /* SZ 144-pin package parts */
70 /* LJ 176-pin package parts */
[all …]

123456