| /Zephyr-4.3.0/doc/connectivity/usb/device_next/ |
| D | vid_pid.rst | 10 Each USB :zephyr:code-sample-category:`sample<usb>` has its own unique Product ID. 20 | :zephyr:code-sample:`usb-cdc-acm` | 0x0001 | 26 | :zephyr:code-sample:`usb-cdc-acm-console` | 0x0004 | 28 | :zephyr:code-sample:`usb-dfu` (Run-Time) | 0x0005 | 32 | :zephyr:code-sample:`usb-hid-mouse` | 0x0007 | 34 | :zephyr:code-sample:`usb-mass` | 0x0008 | 36 | :zephyr:code-sample:`testusb-app` | 0x0009 | 38 | :zephyr:code-sample:`webusb` | 0x000A | 40 | :zephyr:code-sample:`bluetooth_hci_usb` | 0x000B | 46 | :zephyr:code-sample:`uac2-explicit-feedback` | 0x000E | [all …]
|
| /Zephyr-4.3.0/doc/connectivity/bluetooth/shell/classic/ |
| D | l2cap.rst | 5 The :code:`br l2cap` command exposes the Bluetooth Classic L2CAP Shell commands. 10 The :code:`br l2cap` commands: 12 .. code-block:: console 27 The :code:`br l2cap echo` commands: 29 .. code-block:: console 39 The :code:`br l2cap connless` commands: 41 .. code-block:: console 55 When the Bluetooth stack has been initialized (:code:`bt init`), the L2CAP server can be registered 56 by calling :code:`br l2cap register`. 58 .. code-block:: console [all …]
|
| D | rfcomm.rst | 5 The :code:`rfcomm` command exposes the Bluetooth Classic RFCOMM Shell commands. 10 The :code:`rfcomm` commands: 12 .. code-block:: console 32 .. code-block:: console 42 .. code-block:: console 56 .. code-block:: console 64 .. code-block:: console 78 .. code-block:: console 86 .. code-block:: console 97 .. code-block:: console [all …]
|
| D | hfp.rst | 5 The :code:`hfp` command exposes the Bluetooth Classic HFP Shell commands. 7 There are two sub-commands, :code:`hfp hf` and :code:`hfp ag`. 9 The :code:`hfp hf` is for Hands-Free Profile (HF) functionality, and the :code:`hfp ag` is 16 :code:`hfp hf reg` and :code:`hfp ag reg`. 18 The :code:`hfp` commands: 20 .. code-block:: console 28 The :code:`hfp hf` commands: 30 .. code-block:: console 68 transmit_dtmf_code : <call index> <code(set 0-9, #,*,A-D)> 74 The :code:`hfp ag` commands: [all …]
|
| D | goep.rst | 5 The :code:`goep` command exposes the Bluetooth Classic GOEP Shell commands. 10 The :code:`goep` commands: 12 .. code-block:: console 29 The :code:`goep client` commands: 31 .. code-block:: console 44 The :code:`goep server` commands: 46 .. code-block:: console 73 .. code-block:: console 83 .. code-block:: console 98 .. code-block:: console [all …]
|
| D | a2dp.rst | 4 The :code:`a2dp` command exposes parts of the A2DP API. 9 * Source and Sink sides register a2dp callbacks. using :code:`a2dp register_cb`. 10 …urce and Sink sides register stream endpoints. using :code:`a2dp register_ep source sbc` and :code… 11 …onnection. It will create the AVDTP Signaling and Media L2CAP channels. using :code:`a2dp connect`. 12 …* Source and Sink side can discover remote device's stream endpoints. using :code:`a2dp discover_p… 13 …re the stream to create the stream after discover remote's endpoints. using :code:`a2dp configure`. 14 * Source or Sink establish the stream. using :code:`a2dp establish`. 15 * Source or Sink start the media. using :code:`a2dp start`. 16 * Source test the media sending. using :code:`a2dp send_media` to send one test packet data. 17 * Source or Sink suspend the media. using :code:`a2dp suspend`. [all …]
|
| /Zephyr-4.3.0/include/zephyr/input/ |
| D | input.h | 58 uint16_t code; member 82 uint8_t type, uint16_t code, int32_t value, bool sync, 92 uint16_t code, int32_t value, bool sync, in input_report_key() argument 95 return input_report(dev, INPUT_EV_KEY, code, !!value, sync, timeout); in input_report_key() 104 uint16_t code, int32_t value, bool sync, in input_report_rel() argument 107 return input_report(dev, INPUT_EV_REL, code, value, sync, timeout); in input_report_rel() 116 uint16_t code, int32_t value, bool sync, in input_report_abs() argument 119 return input_report(dev, INPUT_EV_ABS, code, value, sync, timeout); in input_report_abs()
|
| /Zephyr-4.3.0/scripts/ruff/ |
| D | gen_lint_exclude.py | 16 def __init__(self, code: str, url: str) -> None: 17 self.code = code 23 return self.code.__eq__(other.code) 26 return self.code.__hash__() 40 for r in sorted(rs, key=lambda x: x.code):
|
| /Zephyr-4.3.0/lib/utils/ |
| D | cobs.c | 24 uint8_t code = 1; in cobs_encode() local 33 *code_ptr = code; in cobs_encode() 35 code = 1; in cobs_encode() 39 code++; in cobs_encode() 42 if (code == 0xFF && (src->len - 1 >= 0)) { in cobs_encode() 43 *code_ptr = code; in cobs_encode() 45 code = 1; in cobs_encode() 50 *code_ptr = code; in cobs_encode()
|
| /Zephyr-4.3.0/tests/subsys/input/longpress/src/ |
| D | main.c | 27 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb() 39 TC_PRINT("%s: %d %x %d\n", __func__, event_count_no_short, evt->code, evt->value); in test_cb_no_short() 67 zassert_equal(last_events[1].code, INPUT_KEY_A); in ZTEST() 70 zassert_equal(last_events[0].code, INPUT_KEY_A); in ZTEST() 80 zassert_equal(last_events[1].code, INPUT_KEY_B); in ZTEST() 83 zassert_equal(last_events[0].code, INPUT_KEY_B); in ZTEST() 93 zassert_equal(last_events[1].code, INPUT_KEY_X); in ZTEST() 96 zassert_equal(last_events[0].code, INPUT_KEY_X); in ZTEST() 101 zassert_equal(last_events_no_short[1].code, INPUT_KEY_X); in ZTEST() 104 zassert_equal(last_events_no_short[0].code, INPUT_KEY_X); in ZTEST() [all …]
|
| /Zephyr-4.3.0/samples/subsys/display/lvgl/boards/ |
| D | native_sim.overlay | 30 zephyr,code = <INPUT_KEY_R>; 35 zephyr,code = <INPUT_KEY_B>; 40 zephyr,code = <INPUT_KEY_0>; 45 zephyr,code = <INPUT_KEY_LEFT>; 50 zephyr,code = <INPUT_KEY_RIGHT>; 55 zephyr,code = <INPUT_KEY_ENTER>; 68 rotation-input-code = <INPUT_REL_WHEEL>; 69 button-input-code = <INPUT_KEY_0>; 86 /* Skip pin 0 with the unknown code 0 */
|
| /Zephyr-4.3.0/samples/net/sockets/coap_server/src/ |
| D | large.c | 28 uint8_t code; in large_get() local 42 code = coap_header_get_code(request); in large_get() 48 LOG_INF("type: %u code %u id %u", type, code, id); in large_get() 106 uint8_t code; in large_update_put() local 142 code = coap_header_get_code(request); in large_update_put() 148 LOG_INF("type: %u code %u id %u", type, code, id); in large_update_put() 154 code = COAP_RESPONSE_CODE_CONTINUE; in large_update_put() 156 code = COAP_RESPONSE_CODE_CHANGED; in large_update_put() 159 r = coap_ack_init(&response, request, data, sizeof(data), code); in large_update_put() 186 uint8_t code; in large_create_post() local [all …]
|
| D | test.c | 25 uint8_t code; in piggyback_get() local 30 code = coap_header_get_code(request); in piggyback_get() 36 LOG_INF("type: %u code %u id %u", type, code, id); in piggyback_get() 65 "Type: %u\nCode: %u\nMID: %u\n", type, code, id); in piggyback_get() 89 uint8_t code; in test_del() local 94 code = coap_header_get_code(request); in test_del() 100 LOG_INF("type: %u code %u id %u", type, code, id); in test_del() 130 uint8_t code; in test_put() local 136 code = coap_header_get_code(request); in test_put() 142 LOG_INF("type: %u code %u id %u", type, code, id); in test_put() [all …]
|
| /Zephyr-4.3.0/boards/shields/waveshare_pico_lcd_1_14/ |
| D | waveshare_pico_lcd_1_14_buttons.overlay | 18 zephyr,code = <INPUT_KEY_A>; 24 zephyr,code = <INPUT_KEY_B>; 34 zephyr,code = <INPUT_KEY_ENTER>; 40 zephyr,code = <INPUT_KEY_RIGHT>; 46 zephyr,code = <INPUT_KEY_UP>; 52 zephyr,code = <INPUT_KEY_DOWN>; 58 zephyr,code = <INPUT_KEY_LEFT>;
|
| /Zephyr-4.3.0/subsys/net/l2/ppp/ |
| D | options.c | 23 int (*parse)(struct net_pkt *pkt, uint8_t code, in ppp_parse_options() argument 83 uint8_t code) in ppp_peer_option_info_get() argument 88 if (options[i].code == code) { in ppp_peer_option_info_get() 109 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_unsupported() argument 118 code); in ppp_parse_option_conf_req_unsupported() 122 ppp_option2str(parse_data->protocol, code), in ppp_parse_option_conf_req_unsupported() 123 code, len); in ppp_parse_option_conf_req_unsupported() 131 net_pkt_write_u8(ret_pkt, code); in ppp_parse_option_conf_req_unsupported() 132 net_pkt_write_u8(ret_pkt, len + sizeof(code) + sizeof(len)); in ppp_parse_option_conf_req_unsupported() 142 uint8_t code, uint8_t len, in ppp_parse_option_conf_req_supported() argument [all …]
|
| /Zephyr-4.3.0/samples/boards/intel/adsp/code_relocation/ |
| D | README.rst | 1 .. zephyr:code-sample:: intel_adsp_code_relocation 4 Relocate code using custom linker script. 9 A simple sample that shows code relocation working for Intel ADSP CAVS 31 .. code-block:: console 34 Calling relocated code 35 Relocated code! reloc location 0xbe008010
|
| /Zephyr-4.3.0/samples/shields/rtk0eg0019b01002bj/ |
| D | README.rst | 1 .. zephyr:code-sample:: rtk0eg0019b01002bj 44 .. code-block:: console 48 I: input event: dev=button1 type= 1 code= 11 value=0 49 I: input event: dev=wheel type= 3 code= 8 value=61 50 I: input event: dev=wheel type= 3 code= 8 value=67 51 I: input event: dev=wheel type= 3 code= 8 value=82 52 I: input event: dev=wheel type= 3 code= 8 value=111 53 I: input event: dev=wheel type= 3 code= 8 value=124 54 I: input event: dev=wheel type= 3 code= 8 value=134 55 I: input event: dev=slider type= 3 code= 6 value=0 [all …]
|
| /Zephyr-4.3.0/cmake/modules/ |
| D | FindDeprecated.cmake | 5 # FindDeprecated module provides a single location for deprecated CMake build code. 6 # Whenever CMake code is deprecated it should be moved to this module and 7 # corresponding COMPONENTS should be created with name identifying the deprecated code. 9 # This makes it easier to maintain deprecated code and cleanup such code when it 13 # CMakeList.txt contains deprecated code, like: 18 # such code can easily be around for a long time, so therefore such code should 22 # # This code has been deprecated after Zephyr x.y 28 # and then in the original CMakeLists.txt, this code is inserted instead: 41 # This code was deprecated after Zephyr v4.0.0 57 # This code was deprecated after Zephyr v4.0.0 [all …]
|
| /Zephyr-4.3.0/arch/x86/zefi/ |
| D | zefi.c | 217 unsigned char *code = (void *)zefi_entry; in efi_entry() local 223 code, code[0], code[1], code[2], code[3], in efi_entry() 224 code[4], code[5], code[6]); in efi_entry() 236 :: "r"(&efi_arg), "r"(code) : "rbx"); in efi_entry()
|
| /Zephyr-4.3.0/samples/bluetooth/classic/ |
| D | index.rst | 1 .. zephyr:code-sample-category:: bluetooth_classic 21 .. code-block:: bash 27 .. code-block:: bash 38 .. code-block:: cfg 45 .. code-block:: cfg 58 .. code-block:: bash 67 .. zephyr:code-sample-listing::
|
| /Zephyr-4.3.0/boards/adafruit/macropad_rp2040/ |
| D | adafruit_macropad_rp2040.dts | 19 zephyr,code-partition = &code_partition; 40 zephyr,code = <INPUT_KEY_F1>; 45 zephyr,code = <INPUT_KEY_F2>; 50 zephyr,code = <INPUT_KEY_F3>; 55 zephyr,code = <INPUT_KEY_F4>; 60 zephyr,code = <INPUT_KEY_F5>; 65 zephyr,code = <INPUT_KEY_F6>; 70 zephyr,code = <INPUT_KEY_F7>; 75 zephyr,code = <INPUT_KEY_F8>; 80 zephyr,code = <INPUT_KEY_F9>; [all …]
|
| /Zephyr-4.3.0/doc/connectivity/bluetooth/shell/host/ |
| D | iso.rst | 7 .. code-block:: console 19 create-big :Create a BIG as a broadcaster [enc <broadcast code>] 22 [enc <broadcast code>] 32 .. code-block:: console 39 .. code-block:: console 45 .. code-block:: console 53 .. code-block:: console 62 .. code-block:: console 75 .. code-block:: console 96 If encrypted broadcast is required, then a broadcast code can be provided as [all …]
|
| D | gap.rst | 15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You 16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the 17 available identities with :code:`id-show`. 22 Start scanning by using the :code:`bt scan on` command. Depending on the environment you're in, you 23 may see a lot of lines printed on the shell. To stop the scan, run :code:`bt scan off`, the 28 .. code-block:: console 45 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter` 50 .. code-block:: console 56 .. code-block:: console 63 .. code-block:: console [all …]
|
| /Zephyr-4.3.0/samples/subsys/usb/ |
| D | usb.rst | 1 .. zephyr:code-sample-category:: usb 11 :zephyr:code-sample:`bluetooth_hci_usb` 13 samples :zephyr:code-sample:`zperf` or :zephyr:code-sample:`sockets-http-server` 15 .. zephyr:code-sample-listing::
|
| /Zephyr-4.3.0/boards/adafruit/itsybitsy_m4_express/doc/ |
| D | index.rst | 28 To use the RTC, set :code:`CONFIG_CORTEX_M_SYSTICK=n` and set 29 :code:`CONFIG_SYS_CLOCK_TICKS_PER_SEC` to no more than 32 kHZ divided by 7, 60 The SAMD51 has three PWM generators with up to six channels each. :code:`TCC_0` 61 has a resolution of 24 bits and all other generators are 16 bit. :code:`TCC_1` 68 with a host PC. See the :zephyr:code-sample-category:`usb` sample applications for 69 more, such as the :zephyr:code-sample:`usb-cdc-acm` sample which sets up a virtual 80 Additionally, if :code:`CONFIG_USB_CDC_ACM` is enabled then the bootloader 81 will be entered automatically when you run :code:`west flash`. 86 #. Build the Zephyr kernel and the :zephyr:code-sample:`hello_world` sample application: 101 terminal should be :code:`/dev/ttyUSB0`. For example: [all …]
|