Skip to content

Commit

Permalink
zigbee: Optimize zigbee serial interface
Browse files Browse the repository at this point in the history
Add ring buffer implementation to keep te UART in continuous RX.

Signed-off-by: Tomasz Chyrowicz <[email protected]>
  • Loading branch information
tomchy authored and rlubos committed Sep 15, 2020
1 parent 0154427 commit 6396736
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 131 deletions.
10 changes: 9 additions & 1 deletion subsys/zigbee/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,15 @@ config ZIGBEE_UART_RX_TIMEOUT

config ZIGBEE_UART_PARTIAL_RX_TIMEOUT
int "Timeout value between the last received byte and the RX event if only a part of RX buffer was received, in milliseconds"
default 10
default 1

config ZIGBEE_UART_RX_CHUNK_LEN
int "Size of the single reception buffer"
default 2

config ZIGBEE_UART_RX_BUF_LEN
int "Size of the asynchronous receive buffer"
default 16

config ZIGBEE_UART_TX_BUF_LEN
int "Size of the synchronous transmit buffer"
Expand Down
Loading

0 comments on commit 6396736

Please sign in to comment.