User Tools

Site Tools


nrf9151_zephyr_queues_cpp_trouble

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

nrf9151_zephyr_queues_cpp_trouble [2026/03/09 12:20]
sausage created
nrf9151_zephyr_queues_cpp_trouble [2026/03/09 21:53] (current)
sausage
Line 21: Line 21:
 And here is a where a problem occurred: although the module was successfully transferring serial data, that data could not be put into the queue. And here is a where a problem occurred: although the module was successfully transferring serial data, that data could not be put into the queue.
  
-Being inside the ISR, the timeout value can only be K_NO_WAIT (meaning not to wait around for a space to become available) to ensure the routine puts to the Message Queue and completes quickly.+Being inside the ISR, the timeout value can only be ''​K_NO_WAIT'' ​(meaning not to wait around for a space to become available) to ensure the routine puts to the Message Queue and completes quickly.
  
 On the first attempt to add an item to the queue, the system returned error -35 (ENOMSG). Normally, this would indicate a full queue, but the queue was completely empty. This could be easily determined using the ''​k_msgq_num_free_get()''​ and ''​k_msgq_num_used_get''​ functions verified 50 free entries and none used. On the first attempt to add an item to the queue, the system returned error -35 (ENOMSG). Normally, this would indicate a full queue, but the queue was completely empty. This could be easily determined using the ''​k_msgq_num_free_get()''​ and ''​k_msgq_num_used_get''​ functions verified 50 free entries and none used.
nrf9151_zephyr_queues_cpp_trouble.txt ยท Last modified: 2026/03/09 21:53 by sausage