hai , I would like to program cli uart in pca10059, what are all things to change in openthread stack in order to change UART pin configure and how to compile it ? I use only segger compiler , any guidline to use gcc in windows 10??
hai , I would like to program cli uart in pca10059, what are all things to change in openthread stack in order to change UART pin configure and how to compile it ? I use only segger compiler , any guidline to use gcc in windows 10??
Hi,
Why do you want to use UART with the dongle, and not use the USB interface? Are you planning to connect the UART pins externally to a host device?
In order to change the UART pins, you need to rebuild the OpenThread libraries. The UART configs are found in the file transport-config.h (for nRF5 SDK for Thread and Zigbee v4.1.0).
Remember to checkout the correct OpenThreas commit that the SDK was generated with, after cloning the GitHub project, as you may run into build errors with the master branch. The commit number is indicated in external\openthread\project\readme.txt.
For instructions on installing GCC on windows, please refer to the Installing GCC on Windows section in the Getting Started with Thread and Zigbee documentation.
Best regards,
Jørgen
Hi,
Why do you want to use UART with the dongle, and not use the USB interface? Are you planning to connect the UART pins externally to a host device?
In order to change the UART pins, you need to rebuild the OpenThread libraries. The UART configs are found in the file transport-config.h (for nRF5 SDK for Thread and Zigbee v4.1.0).
Remember to checkout the correct OpenThreas commit that the SDK was generated with, after cloning the GitHub project, as you may run into build errors with the master branch. The commit number is indicated in external\openthread\project\readme.txt.
For instructions on installing GCC on windows, please refer to the Installing GCC on Windows section in the Getting Started with Thread and Zigbee documentation.
Best regards,
Jørgen
Hai Jorgen
Thank you for your reply and you are correct , I am developing mesh to transmit data from 20 different nodes to server, initially I thought of using BLE but after going through different tutorials I prefer to use thread instead of BLE. I have been provided with single pca10056 and remaining pca10059 (low cost). I am a beginner and I need to start from scratches
does compiling open thread libraries require Linux ? can't it be compiled in windows 10 ?
sivaguru said:it be compiled in windows 10
Yes, It is described in the documentation that I linked how to build on Windows.
sivaguru said:Thank you for your reply and you are correct , I am developing mesh to transmit data from 20 different nodes to server, initially I thought of using BLE but after going through different tutorials I prefer to use thread instead of BLE. I have been provided with single pca10056 and remaining pca10059 (low cost). I am a beginner and I need to start from scratches
I'm still not sure I understand why you need to rebuild the libraries. The CLI example for pca10059 works over USB CDC ACM, which is COM port over USB. Why do you need external UART? That would require some additional HW to communicate with the CLI.