Home
last modified time | relevance | path

Searched full:notification (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c158 zassert_false(access_read_got, "Did not expect read access notification"); in ZTEST()
159 zassert_false(access_write_got, "Did not expect write access notification"); in ZTEST()
160 zassert_false(access_delete_got, "Did not expect delete access notification"); in ZTEST()
161 zassert_false(access_load_got, "Did not expect load access notification"); in ZTEST()
162 zassert_false(access_save_got, "Did not expect save access notification"); in ZTEST()
163 zassert_true(access_commit_got, "Expected commit access notification"); in ZTEST()
164 zassert_false(access_invalid_got, "Did not expect an invalid access notification type"); in ZTEST()
175 /* Force notification callback to return an error */ in ZTEST()
213 zassert_false(access_read_got, "Did not expect read access notification"); in ZTEST()
214 zassert_false(access_write_got, "Did not expect write access notification"); in ZTEST()
[all …]
/Zephyr-latest/doc/services/
Dnotify.rst10 suited to a callback notification, and operations like enabling clocks
17 operation-specific data from requests that include a notification
25 * copying the notification content from userspace will break use of
27 * neither the spin-wait nor callback notification methods can be
30 Where a notification is required for an asynchronous operation invoked
32 API that uses :c:struct:`k_poll_signal` for notification.
/Zephyr-latest/include/zephyr/sys/
Dnotify.h27 * Indicates that no notification will be provided.
37 * Select notification through @ref k_poll signal
44 * Select notification through a user-provided callback.
75 * @defgroup sys_notify_apis Asynchronous Notification APIs
101 * @brief State associated with notification for an asynchronous
147 /* Generic callback function for callback notification. */
190 * notification configuration is consistent, and clears the result.
209 * @param notify pointer to the notification state structure.
215 * @return If the notification is to be done by callback this returns
218 * expected by the callback. If notification is by spin-wait or
[all …]
/Zephyr-latest/drivers/tee/optee/
Doptee_rpc_cmd.h31 * Notification from/to secure world.
34 * does a notification wait request instead of spinning in secure world.
35 * Conversely can a synchronous notification can be sent when a secure
38 * This interface can also be used to wait for a asynchronous notification
41 * Waiting on notification
43 * [in] value[0].b notification value
45 * Sending a synchronous notification
47 * [in] value[0].b notification value
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/
Ddut.c72 * Verifies that we are able to send a notification to the peer when in entrypoint_dut()
77 * - `dut`: tries to send the notification in entrypoint_dut()
78 * - `peer`: will receive the notification in entrypoint_dut()
83 * - [dut] send notification #1 in entrypoint_dut()
84 * - [peer] wait for notification in entrypoint_dut()
86 * - [dut] send notification #2 in entrypoint_dut()
143 LOG_INF("Send notification #1"); in entrypoint_dut()
144 LOG_HEXDUMP_DBG(data, sizeof(data), "Notification payload"); in entrypoint_dut()
147 TEST_ASSERT(!err, "Failed to send notification: err %d", err); in entrypoint_dut()
152 LOG_INF("Send notification #2"); in entrypoint_dut()
[all …]
/Zephyr-latest/subsys/usb/device_next/
DKconfig44 int "Maximum number of USB device notification messages"
48 Maximum number of USB device notification messages that can be queued.
51 int "USB device notification messages work delay"
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt_callbacks.h31 * Structure provided in the #MGMT_EVT_OP_IMG_MGMT_DFU_CHUNK notification callback: This callback
33 * and authorise or deny it. Upload will be allowed so long as all notification handlers return
45 * Structure provided in the #MGMT_EVT_OP_IMG_MGMT_IMAGE_SLOT_STATE notification callback: This
59 * Structure provided in the #MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_IMAGE notification callback: This
75 * Structure provided in the #MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_SLOT notification callback: This
/Zephyr-latest/tests/posix/common/src/
Dmqueue.c137 zassert_ok(mq_notify(mqd, &not), "Unable to set notification."); in ZTEST()
141 zassert_true(notification_executed, "Notification not triggered."); in ZTEST()
153 "Notification function should be executed from different thread."); in notify_function_thread()
186 zassert_ok(mq_notify(mqd, &not), "Unable to set notification."); in ZTEST()
192 zassert_true(notification_executed, "Notification not triggered."); in ZTEST()
220 zassert_ok(mq_notify(mqd, &not), "Unable to set notification."); in ZTEST()
222 zassert_false(notification_executed, "Notification shouldn't be processed."); in ZTEST()
232 zassert_true(notification_executed, "Notification not triggered."); in ZTEST()
267 "Unexpected error while asigning notification to the queue."); in ZTEST()
270 "Can't assign notification when there is another assigned."); in ZTEST()
[all …]
/Zephyr-latest/samples/drivers/charger/
DKconfig11 int "Discharge notification threshold in µA"
19 int "System voltage notification falling threshold in µV"
/Zephyr-latest/samples/drivers/ipm/ipm_ivshmem/src/
Dmain.c19 printf("Received IPM notification over IVSHMEM\n"); in ipm_receive_callback()
43 "Send notification to other side using IPM",
49 "Send notification to other side using IPM",
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/
DKconfig13 bool "MCUmgr notification hook support"
17 this enables the base notification functionality but itself does not enable any
27 acceptable, true must be returned by all the registered notification handlers.
/Zephyr-latest/samples/drivers/ipm/ipm_ivshmem/
DREADME.rst103 Notification vectors: 2
107 instance and use the command to send the IPM notification followed
119 Notification vectors: 2
123 of the notification on the terminal:
131 Notification vectors: 2
132 uart:~$ Received IPM notification over IVSHMEM
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/dut/src/
Ddut.c40 LOG_INF("Received notification"); in received_notification()
49 TEST_ASSERT(payload_is_correct, "Notification contents mismatch"); in received_notification()
127 * - [peer] send notification #1 in entrypoint_dut()
128 * - [dut] wait until notification #1 received in entrypoint_dut()
130 * - [peer] send 2 out of 3 frags of notification #2 in entrypoint_dut()
135 * - dut receives notification #1 for all iterations in entrypoint_dut()
/Zephyr-latest/subsys/ipc/ipc_service/lib/
DKconfig.icmsg25 int "Bond notification timeout in miliseconds"
29 Time to wait for remote bonding notification before the
30 notification is repeated.
/Zephyr-latest/samples/bluetooth/mtu_update/
DREADME.rst31 large notification to be sent.
35 To be able to send a large notification both the server and the client need to
83 should subscribe and then the peripheral will send a large notification. Right
84 after receiving the notification the central should unsubscribe.
104 [NOTIFICATION] data 0x20004b73 length 100
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig28 int "Delay for notification sending retried attempt in 1.25 ms units"
33 retry to send notification that failed due to lack of TX buffers
/Zephyr-latest/samples/subsys/usb/webusb-next/
DREADME.rst55 #. Once the device has booted, you may see a notification from the browser: "Go
56 to localhost to connect". Click on the notification to open the demo page. If
57 there is no notification from the browser, open the URL http://localhost:8001/
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/
Dos_mgmt_callbacks.h22 * Structure provided in the #MGMT_EVT_OP_OS_MGMT_RESET notification callback: This callback
32 * Structure provided in the #MGMT_EVT_OP_OS_MGMT_BOOTLOADER_INFO notification callback: This
/Zephyr-latest/samples/posix/eventfd/
DREADME.rst4 Use ``eventfd()`` to create a file descriptor for event notification.
10 which can be used for event notification. The returned file descriptor is used with write/read calls
/Zephyr-latest/samples/subsys/edac/src/
Dmain.c43 LOG_ERR("Cannot set notification callback"); in main()
57 printk("Got notification about IBECC event\n"); in thread_function()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/fs_mgmt/
Dfs_mgmt_callbacks.h38 * Structure provided in the #MGMT_EVT_OP_FS_MGMT_FILE_ACCESS notification callback: This callback
40 * authorise or deny it. Access will be allowed so long as all notification handlers return
/Zephyr-latest/drivers/virtualization/
DKconfig36 int "How many notification vectors should be pre-allocated?"
42 with each other. These are know to be the notification vectors in
Dvirt_ivshmem_shell.c45 "Received a notification on vector %u\n", in doorbell_notification_thread()
148 "Notification sent to peer %u on vector %u\n", in cmd_ivshmem_int()
186 shell_error(sh, "Cannot start notification thread"); in cmd_ivshmem_get_notified()
213 "Get notification on vector",
/Zephyr-latest/lib/utils/
Dnotify.c55 /* Store the result and capture secondary notification in sys_notify_finalize()
74 * secondary notification. in sys_notify_finalize()
/Zephyr-latest/samples/subsys/usb/webusb/
DREADME.rst81 #. Once the device is booted, you should see a notification from
82 Chrome: "Go to localhost to connect.". Click on the notification
84 Note that at the moment WebUSB landing page notification is disabled

12345678910>>...15