MTU size for Nordic Uart service #91
-
When I use the Nordic UART service the packets sent will only be MTU_SIZE_DEFAULT = 23 bytes.
I have changed the nordic_urat/service.py init function to this:
After this it works just fine, is this a good way of fixing this issue or am I missing something in how I use the driver? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Sorry for the delayed response. You're correct, I wrote the UART service before I added support for larger MTUs and didn't go back to fix it up. Your changes make sense to me |
Beta Was this translation helpful? Give feedback.
-
Good, I can see that the main branch is a bit different then my code, will you implement a fix or should I try to create a pull request? |
Beta Was this translation helpful? Give feedback.
Sorry for the delayed response. You're correct, I wrote the UART service before I added support for larger MTUs and didn't go back to fix it up. Your changes make sense to me