Comments (17)
openthread_cli_tcat.zip
@canisLupus1313 OK, I have uploaded my firmware. Please have a look. And I also tried to change the name to "Thread BLE" , but the problem still exists.
from ot-nrf528xx.
It looks like that it has not been implemented yet.
from ot-nrf528xx.
@L1amaGod Currently the only platform that has the TCAT functionality implemented fully is NCS please refer to https://github.com/nrfconnect/sdk-nrf .
from ot-nrf528xx.
@L1amaGod Currently the only platform that has the TCAT functionality implemented fully is NCS please refer to https://github.com/nrfconnect/sdk-nrf .
@canisLupus1313 But I can not update to the newest sdk version which includes TCAT features. I typed west update
to update my ncs, but it could only update to "ncs-zephry: v3.4.99-ncs1-1" which didn't have TCAT features.
How can I update to the newest version?
from ot-nrf528xx.
@L1amaGod try initialising the west work space from nrf repo
west init -m https://github.com/nrfconnect/sdk-nrf
Then do west update
and build the cli sample with:
west build -b nrf52840dk_nrf52840 nrf/samples/openthread/cli/ -p always -S="tcat"
from ot-nrf528xx.
@L1amaGod try initialising the west work space from nrf repo
west init -m https://github.com/nrfconnect/sdk-nrf
Then dowest update
and build the cli sample with:west build -b nrf52840dk_nrf52840 nrf/samples/openthread/cli/ -p always -S="tcat"
@canisLupus1313 Thank you so much! It works. And then could you teach me how can I make my OTBR commission to this ble_tcat thread device by using this ble_tcat feature?
from ot-nrf528xx.
@L1amaGod On the DK yu should invoke ot tcat start
via cli.
And use TCAT commissioner currently we are working on options to deliver but You can look at:
https://github.com/pjasinski990/bbtc
or
https://github.com/arnulfrupp/TcatClient
from ot-nrf528xx.
@canisLupus1313 Thank you!So based on current github code, is it possiable for me to do a test about connecting to a tcat device? Because I tried to install bbtc and connected to a tcat device. I succeed in scanning device but failed in connecting. What's wrong with it?
from ot-nrf528xx.
@L1amaGod Have you changed the provided certificates? Or anything in the code?
Enter 'help' to see available commands or 'exit' to exit the application.
> scan
Found devices:
1: Thread BLE - E4:08:FD:3E:97:1E
Select the target number to connect to it.
> 1
Selected E4:08:FD:3E:97:1E: Thread BLE
Connecting to E4:08:FD:3E:97:1E: Thread BLE
Setting up secure channel...
In my original one I can also spot that BLE device is named differently Thread BLE
vs NCS DUT
.
from ot-nrf528xx.
@canisLupus1313 No, I have not changed the provided certificates. The only thing I changed is name = "bbtc client"
in file pyproject.toml
.
Because I failed in poetry install
at the begining. The logs is like below:
Then I changed name = "bbtc client"
to name = "bbtc"
in file pyproject.toml
, and it looked installing successfully.
So, is that the reason I can not connect device? Or did I forget to do something neccessary, I just run poetry install
and then poetry run python3 bbtc.py --scan
.
from ot-nrf528xx.
@L1amaGod I was asking about the firmware that you have. Since name of the device is changed there.
And the default certificated are compiled into the device.
from ot-nrf528xx.
@L1amaGod
zephyr.hex.zip
Please try this firmware.
And Can You upload your .config
file from zephyr build repo?
from ot-nrf528xx.
@L1amaGod zephyr.hex.zip Please try this firmware. And Can You upload your
.config
file from zephyr build repo?
Of course.
## ../nrf/samples/openthread/cli/prj.conf
#
# Copyright (c) 2020 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
# Network shell
CONFIG_SHELL=y
CONFIG_OPENTHREAD_SHELL=y
CONFIG_SHELL_ARGC_MAX=26
CONFIG_SHELL_CMD_BUFF_SIZE=416
# Enable OpenThread features set
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y
CONFIG_NET_L2_OPENTHREAD=y
# Generic networking options
CONFIG_NETWORKING=y
CONFIG_MBEDTLS_SHA1_C=n
CONFIG_FPU=y
CONFIG_GPIO_SHELL=y
#Added
CONFIG_OPENTHREAD_BLE_TCAT=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2144
CONFIG_BT=y
CONFIG_BT_HCI=y
CONFIG_BT_SHELL=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="NCS DUT"
CONFIG_BT_DEVICE_APPEARANCE=833
from ot-nrf528xx.
@canisLupus1313 Maybe I found the reason. I used to build cli project with west build -b nrf52840dk_nrf52840
after I modified file prj.conf
, but it failed in tcat connection.
Now I build project with west build -b nrf52840dk_nrf52840 nrf/samples/openthread/cli/ -p always -S="tcat"
as you said without modifying file prj.conf
, and now it works normally.
So, if I want to build project with normal command west build -b nrf52840dk_nrf52840
, how should I modify the conf file prj.conf
?
from ot-nrf528xx.
@L1amaGod
Good reference would be reading about snippets https://docs.zephyrproject.org/latest/build/snippets/index.html
The one that is actually enabling the TCAT is https://github.com/nrfconnect/sdk-nrf/blob/main/samples/openthread/cli/snippets/tcat/
from ot-nrf528xx.
@L1amaGod have You had a chance to read the above docs? do You have any more questions?
from ot-nrf528xx.
Closing stale issue.
from ot-nrf528xx.
Related Issues (20)
- UART Abstraction hangs in otPlatUartFlush HOT 5
- Noob - Build options for OTBR RCP build HOT 6
- Nordic nRF52840DK - Unexpected RCP reset while running ot-daemon HOT 9
- [C] Platform------: HandleRcpTimeout() at radio_spinel_impl.hpp HOT 8
- NRF52840 dongle RCP via UART HOT 2
- RCP fails on Nordic nRF52840 DK HOT 4
- Problem with attaching devices HOT 5
- Problem with flashing OpenThread on Adafruit Feather nRF52840 Express HOT 1
- Adafruit Feather nRF52840 not shown as USB Device HOT 2
- [mdk] Request to update mdk to an up-to-date version HOT 2
- Nordic's nRF5340 DK support Request #8268 HOT 1
- E104-BT5040u USB Stick does not enter DFU mode after initial flashing HOT 4
- cant flash nrf52 dongle using nRFconnect for desktop. HOT 2
- nRF52840-Dongle with dual-bootloader setup HOT 1
- Missing content in CLI output of an OpenThread FTD running on nRF52840 DK HOT 15
- OT_ERROR_NOT_FOUND when canonical names received from otDnsClientResolveIp4Address() HOT 7
- RCP unexcpected reset after starting ot-daemon HOT 2
- /opt/nrfjprog/: No such file or directory HOT 15
- The first compilation after git pull code fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ot-nrf528xx.