Home
last modified time | relevance | path

Searched full:at (Results 1 – 25 of 3360) sorted by relevance

12345678910>>...135

/Zephyr-latest/subsys/bluetooth/host/classic/
Dat.c2 * @file at.c
3 * Generic AT command handling library implementation
18 #include "at.h"
20 static void next_list(struct at_client *at) in next_list() argument
22 if (at->buf[at->pos] == ',') { in next_list()
23 at->pos++; in next_list()
39 static void skip_space(struct at_client *at) in skip_space() argument
41 while (at->buf[at->pos] == ' ') { in skip_space()
42 at->pos++; in skip_space()
46 int at_get_number(struct at_client *at, uint32_t *val) in at_get_number() argument
[all …]
Dat.h1 /** @file at.h
2 * @brief Internal APIs for AT command handling.
74 * particular AT command. Eg: +CIND=<value>
76 typedef int (*at_resp_cb_t)(struct at_client *at, struct net_buf *buf);
78 /* Callback at_finish_cb used to monitor the success or failure of the AT
83 typedef int (*at_finish_cb_t)(struct at_client *at, enum at_result result,
85 typedef int (*parse_val_t)(struct at_client *at);
86 typedef int (*handle_parse_input_t)(struct at_client *at, struct net_buf *buf);
87 typedef int (*handle_cmd_input_t)(struct at_client *at, struct net_buf *buf,
103 void at_register(struct at_client *at, at_resp_cb_t resp,
[all …]
/Zephyr-latest/drivers/wifi/esp_at/
DKconfig.esp_at5 bool "Espressif AT Command support"
16 Enable Espressif AT Command offloaded WiFi driver. It is supported on
18 running ESP-AT firmware (https://github.com/espressif/esp-at).
85 at a rate that the driver can handle. Without this, data might get
92 How long to wait for device to become ready after AT+RST has been
135 prompt "AT version"
138 Select which version of AT command set should be used.
141 bool "AT version 1.7"
143 Use AT command set version 1.7.
146 bool "AT version 2.0"
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst43 Test 1: Flash erase page at 0x82000
47 Attempted to write 1122 at 0x82000
51 Attempted to write aabb at 0x82004
55 Attempted to write abcd at 0x82008
59 Attempted to write 1234 at 0x8200c
64 Test 3: Flash erase (2 pages at 0x80000)
68 Attempted to write 1234 at 0x82000
72 Attempted to write aabb at 0x82004
76 Attempted to write abcd at 0x82008
80 Attempted to write 1122 at 0x8200c
[all …]
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c47 zassert_mem_equal(_s._f, _p->_f, sizeof(_p->_f), _t "\nCalled at %s:%d\n", file, line);
539 zassert_equal(pdu->ll_id, PDU_DATA_LLID_CTRL, "Not a Control PDU.\nCalled at %s:%d\n", file, in helper_pdu_verify_version_ind()
542 "Not a LL_VERSION_IND.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind()
544 "Wrong version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind()
546 "Wrong company id.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind()
548 "Wrong sub version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind()
553 zassert_equal(pdu->ll_id, PDU_DATA_LLID_CTRL, "Not a Control PDU.\nCalled at %s:%d\n", file, in helper_pdu_verify_ping_req()
556 "Not a LL_PING_REQ. Called at %s:%d\n", file, line); in helper_pdu_verify_ping_req()
561 zassert_equal(pdu->ll_id, PDU_DATA_LLID_CTRL, "Not a Control PDU.\nCalled at %s:%d\n", file, in helper_pdu_verify_ping_rsp()
564 "Not a LL_PING_RSP.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_ping_rsp()
[all …]
/Zephyr-latest/drivers/modem/
Dmodem_cellular.c801 * modem is already at the new baudrate, meaning no reply. So in modem_cellular_set_baudrate_event_handler()
1499 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CSQ", csq_match),
1507 /* AT+CSQ returns a response +CSQ: <rssi>,<ber> where: in modem_cellular_csq_parse_rssi()
1522 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CESQ", cesq_match),
1528 /* AT+CESQ returns a response +CESQ: <rxlev>,<ber>,<rscp>,<ecn0>,<rsrq>,<rsrp> where:
1834 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CFUN=4", ok_match),
1835 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CMEE=1", ok_match),
1836 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CREG=1", ok_match),
1837 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CGREG=1", ok_match),
1838 MODEM_CHAT_SCRIPT_CMD_RESP("AT+CEREG=1", ok_match),
[all …]
DKconfig.at_shell5 bool "AT command shell based on modem modules"
21 int "Timeout waiting for response to AT command in seconds"
25 int "Maximum size of AT command"
29 int "Maximum size of AT response"
/Zephyr-latest/dts/arm/nuvoton/npcm/
Dnpcm4.dtsi27 clock-frequency = <DT_FREQ_M(96)>; /* OFMCLK runs at 96MHz */
28 core-prescaler = <1>; /* CORE_CLK runs at 96MHz */
29 apb1-prescaler = <8>; /* APB1_CLK runs at 12MHz */
30 apb2-prescaler = <1>; /* APB2_CLK runs at 96MHz */
31 apb3-prescaler = <1>; /* APB3_CLK runs at 96MHz */
32 ahb6-prescaler = <1>; /* APB6_CLK runs at 96MHz */
33 fiu-prescaler = <1>; /* FIU_CLK runs at 96MHz */
34 i3c-prescaler = <1>; /* I3C_CLK runs at 96MHz */
/Zephyr-latest/dts/bindings/interrupt-controller/
Dcypress,psoc6-intmux.yaml12 At CPU Sub System (CPUSS) there are 8 special registers (intmux[0~7]) to
34 More information about it at PSOC 6 Architecture Technical Reference Manual,
38 The below fragment configure the GPIO Port 0 to generate an interrupt at
41 At psoc6.dtsi file the gpio_prt0 peripheral had the interrupt source 2:
47 In order to enable gpio_prt0 interrupt at Cortex-M0+ an interrupt parent
48 must be defined at gpio_prt0 node selecting the Interrupt Multiplex Channel.
49 This can be defined at <board>_m0.dts file:
60 The interrupt can be enabled/disabled at NVIC at line 20 as usual.
66 3) User can change priority at Cortex-M0+ NVIC by changing interrupt channels
67 at interrupt-parent properties.
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/
DREADME.rst32 Counter at 0x20001a58
48 second past the hour is written at 1000 ms local uptime::
50 Set 2019-07-19 06:00:00.034000000 Fri 200 at 34 ms past: 0
52 wrote sync 0: 1563516001 0 at 1000
60 read sync 0: 1563516002 0 at 2000
66 Alarm 1 flags 0 at 254034017: 0
67 Alarm 2 flags e at 252374400: 0
71 fire at that time on the current day-of-week. The minute-resolution
75 Set sec alarm 90 at 1563516007 ~ 2019-07-19 06:00:07 Fri 200: 5
76 Set min alarm flags f at 1563516007 ~ 2019-07-19 06:00:07 Fri 200: 7
[all …]
/Zephyr-latest/samples/subsys/fs/zms/
DREADME.rst14 #. A string representing an IP address: stored at id=1, data="192.168.1.1"
15 #. A binary blob representing a key/value pair: stored at id=0xbeefdead,
17 #. A variable (32bit): stored at id=2, data=cnt
58 Adding IP_ADDRESS 172.16.254.1 at id 1
59 Adding key/value at id beefdead
60 Adding counter at id 2
61 Adding Longarray at id 3
67 Adding IP_ADDRESS 172.16.254.1 at id 1
69 Adding key/value at id beefdead
71 Adding counter at id 2
[all …]
/Zephyr-latest/drivers/serial/
DKconfig.sifive22 This tells the driver to configure the UART port at boot, depending on
30 Port 0 RX Threshold at which the RX FIFO interrupt triggers.
37 Port 0 TX Threshold at which the TX FIFO interrupt triggers.
45 This tells the driver to configure the UART port at boot, depending on
53 Port 1 RX Threshold at which the RX FIFO interrupt triggers.
60 Port 1 TX Threshold at which the TX FIFO interrupt triggers.
Duart_ql_usbserialport_s3b.h18 #define USBSERIAL_RX_FIFO_GE_2 (0x02) /* 0010 At least 2 entries */
19 #define USBSERIAL_RX_FIFO_GE_4 (0x03) /* 0011 At least 4 entries */
20 #define USBSERIAL_RX_FIFO_GE_8 (0x04) /* 0100 At least 8 entries */
21 #define USBSERIAL_RX_FIFO_GE_16 (0x0A) /* 1010 At least 16 entries */
22 #define USBSERIAL_RX_FIFO_GE_32 (0x0B) /* 1011 At least 32 entries */
37 #define USBSERIAL_TX_FIFO_GE_2 (0x0E) /* 1110 Room for at least 2 */
38 #define USBSERIAL_TX_FIFO_GE_1 (0x0F) /* 1111 Room for at least 1 */
/Zephyr-latest/dts/bindings/gpio/
Darduino-header-r3.yaml15 labeled from A0 at the top through A5 at the bottom.
17 signals labeled from D0 at the bottom D7 at the top;
19 digital input signals labelled from D8 at the bottom through D13
21 D15 at the top.
/Zephyr-latest/arch/arm64/core/
Dearly_mem_funcs.S29 /* at least 8 bytes to set? */
38 1: /* 8 bytes at a time */
44 2: /* at least one byte to set? */
47 3: /* one byte at a time */
63 /* at least 8 bytes to copy? */
67 1: /* 8 bytes at a time */
74 2: /* at least one byte to copy? */
77 3: /* one byte at a time */
/Zephyr-latest/soc/nxp/mcx/mcxc/
DKconfig41 bool "Keep watchdog timer enabled at boot"
43 Leave SOC watchdog timer enabled at boot. The specific timeout
44 and clock configuration of the watchdog at boot is SOC dependent.
45 Note: if the watchdog timer is enabled at boot, the user will
49 # Enable watchdog configuration function if watchdog is left enabled at boot
/Zephyr-latest/tests/bluetooth/at/src/
Dmain.c13 #include "subsys/bluetooth/host/classic/at.h"
17 static struct at_client at; variable
53 at.buf_max_len = 140U; in ZTEST()
54 at.buf = buffer; in ZTEST()
59 at_register(&at, at_resp, NULL); in ZTEST()
66 zassert_equal(at_parse_input(&at, buf), 0, "Parsing failed"); in ZTEST()
/Zephyr-latest/dts/bindings/i2c/
Dite,common-i2c.yaml45 0 = I2C_CHA_LOCATE: Channel A is located at SMCLK0/SMDAT0
46 1 = I2C_CHB_LOCATE: Channel B is located at SMCLK1/SMDAT1
47 2 = I2C_CHC_LOCATE: Channel C is located at SMCLK2/SMDAT2
48 3 = I2C_CHD_LOCATE: Channel D is located at SMCLK3/SMDAT3
49 4 = I2C_CHE_LOCATE: Channel E is located at SMCLK4/SMDAT4
50 5 = I2C_CHF_LOCATE: Channel F is located at SMCLK5/SMDAT5
57 Channel C is located at SMCLK0/SMDAT0:
67 Channel A is located at SMCLK2/SMDAT2:
/Zephyr-latest/kernel/
Datomic_c.c28 * code, not performance sensitive. At least by not using irq_lock()
65 * This routine provides the compare-and-set operator. If the original value at
66 * <target> equals <oldValue>, then <newValue> is stored at <target> and the
69 * If the original value at <target> does not equal <oldValue>, then the store
72 * The reading of the original value at <target>, the comparison,
153 * atomically added to the value at <target>, placing the result at <target>,
183 * atomically subtracted from the value at <target>, placing the result at
235 * written at <target> and the previous value at <target> is returned.
291 * is atomically bitwise OR'ed with the value at <target>, placing the result
292 * at <target>, and the previous value at <target> is returned.
[all …]
/Zephyr-latest/arch/x86/zefi/
DREADME.txt16 relocatable, and cannot be placed at specific locations in memory.
18 appropriate locations at startup, clear any zero-filled (BSS, etc...)
25 any platform top out at 200kb or so, and grub is at minimum about 5x
39 work fine and then fail inexplicably at runtime with a garbage
41 address is not generated at runtime by the C code here (it's address
51 in ELF get found via GOT and PLT tables that are populated at load
67 they ignore the preferred load address and will put the image at
80 that the EFI environment will load our image at an address that
84 at 0x10000. Even given collisions, this is probably tolerable, as we
86 sneak around EFI areas. But the Zephyr loader should at least detect
/Zephyr-latest/include/zephyr/devicetree/
Dpwms.h27 * pwms property at an index
47 * @return the node identifier for the PWM controller referenced at
87 * @return the node identifier for the PWM controller at index 0
94 * @brief Get PWM specifier's cell value at an index
132 * @return the cell value at index "idx"
179 * @return the cell value in the specifier at the named element
189 * @return the cell value at index 0
195 * @brief Get a PWM specifier's channel cell value at an index
204 * @return the channel cell value at index "idx"
221 * @return the channel cell value in the specifier at the named element
[all …]
Dreset.h27 * "resets" phandle-array property at an index
46 * @return the node identifier for the reset controller referenced at
56 * @return a node identifier for the reset controller at index 0
93 * @brief Get a reset specifier's cell value at an index
118 * @return the cell value at index "idx"
152 * @return the cell value in the specifier at the named element
162 * @return the cell value at index 0
170 * "resets" phandle-array property at an index
174 * @return the node identifier for the reset controller referenced at
184 * @return a node identifier for the reset controller at index 0
[all …]
/Zephyr-latest/tests/kernel/interrupt/src/
Ddynamic_shared_irq.c114 "wrong _sw_isr_table ISR at irq1"); in dynamic_shared_irq_suite_before()
116 "wrong _sw_isr_table argument at irq1"); in dynamic_shared_irq_suite_before()
118 "wrong client number at irq1"); in dynamic_shared_irq_suite_before()
124 "wrong _sw_isr_table ISR at irq1"); in dynamic_shared_irq_suite_before()
127 "wrong _sw_isr_table argument at irq1"); in dynamic_shared_irq_suite_before()
129 "wrong client number at irq1"); in dynamic_shared_irq_suite_before()
142 "wrong _sw_isr_table ISR at irq2"); in dynamic_shared_irq_suite_before()
144 "wrong _sw_isr_table argument at irq2"); in dynamic_shared_irq_suite_before()
146 "wrong client number at irq2"); in dynamic_shared_irq_suite_before()
175 "wrong test_vector value at %d: 0x%x vs 0x%x", in ZTEST()
[all …]
/Zephyr-latest/samples/philosophers/
DREADME.rst89 arch_cpu_idle () at zephyr/mainline/zephyr/arch/arm/core/cpu_idle.S:107
93 …* 1 Thread 537003160 (Name: idle 00, prio:40,useropts:1) arch_cpu_idle () at zephyr/mainl…
95 …: Philosopher 5, prio:-2,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
97 …: Philosopher 4, prio:-1,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
99 …: Philosopher 3, prio:0,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
101 …: Philosopher 2, prio:1,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
103 …: Philosopher 1, prio:2,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
105 …: Philosopher 0, prio:3,useropts:4) 0x08001404 in arch_irq_unlock (key=0) at zephyr/mainline/zeph…
124 arch_cpu_idle () at zephyr/mainline/zephyr/arch/arm/core/cpu_idle.S:107
128 …* 2 Thread 537920592 (idle 00 UNKNOWN PRIO 40) arch_cpu_idle () at zephyr/mainline/zep…
[all …]
/Zephyr-latest/dts/bindings/sdhc/
Dsdhc.yaml15 Max drive current in mA at 3.3V. A value of zero indicates no maximum
22 Max drive current in mA at 3.0V. A value of zero indicates no maximum
29 Max drive current in mA at 1.8V. A value of zero indicates no maximum
56 The host controller supports HS200 at 1.8V
61 The host controller supports HS400 at 1.8V

12345678910>>...135