This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Commission device to existing border router using CLI sample

Hello,

I am trying to commission a device running the CLI sample to an OTBR I configured following https://openthread.io/guides/border-router (the OpenThread official guide). I am using a Raspberry Pi 3 as recommended and the OTBR is fully functional since I successfully commissioned a device running openthread built directly from source (https://github.com/openthread/openthread).

When I flash the device with the CLI sample it automatically creates a ot_zephyr openthread netowork. I have tried "ot thread stop" and then join the OTBR network but it fails to find it (prints "NotFound"). I have changed the channel number to 15 (channel of the OTBR) but still with no luck.

Parents
No Data
Reply
  • Okay. I tried testing but it always give me the error of Join Failed[Device Not found].

    On my commissioner side, it shows something like this:

    > commissioner start
    Commissioner: petitioning
    Done
    > Commissioner: active
    
    >  commissioner joiner add f4ce36d65f5f4cc4 N0RD1C
    Done
    > 
    > Commissioner: Joiner remove 225311d2c1060946
    
    

    I tried using ot dataset init new but same issue arrives.

    Am i missing any parameter that is to be set ?

    Attached the .conf file for reference

    3808.overlay-ot-defaults.conf

    4478.overlay-minimal_singleprotocol.conf

    1325.prj.conf

    #
    # Copyright (c) 2020 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    cmake_minimum_required(VERSION 3.13.1)
    
    list(INSERT OVERLAY_CONFIG 0 ../common/overlay-ot-defaults.conf)
    list(INSERT OVERLAY_CONFIG 0 overlay-usb-log.conf overlay-mtd.conf)
    list(INSERT OVERLAY_CONFIG 0 overlay-nfc.conf )
    
    
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    
    project(openthread_coap_client)
    
    target_sources(app PRIVATE src/coap_client.c
    			   src/coap_client_utils.c src/ndef_file_m.c 
                                               src/nfc_Parser.c )
    
    target_sources_ifdef(CONFIG_BT_NUS app PRIVATE src/ble_utils.c)
    
    
    target_include_directories(app PUBLIC ../coap_server/interface)
    add_subdirectory(src/sensor_node/sht35)
    add_subdirectory(src/sensor_node/lps22hb)
    add_subdirectory(src/sensor_node/BME680)
    add_subdirectory(src/sensor_node/SI1151)
    add_subdirectory(src/sensor_node/LSM6DS)
    add_subdirectory(src/pmic_driver)
    

Children
No Data
Related