Other Parts Discussed in Thread: CC1352P7
Tool/software:
Hi all,
Currently testing out the TI WiSUN stack with border router and router node sample codes.
For border router:
Board: CC1352P7-1 Launchpad
bin file: ns_br_LP_CC1352P7_1_tirtos7_ticlang.hex
syscfg: Region(JP, default channel plan), Phy Mode ID(Mode 2, 50Kbps, Mod Index 1, Pan ID 0xBEEF)
For router node:
Board: CC1352P1 Launchpad
bin file: ns_node_CC1352P1_LAUNCHXL_tirtos7_ticlang.hex
syscfg: Region(JP, default channel plan), Phy Mode ID(Mode 2, 50Kbps, Mod Index 1, Pan ID 0xFFFF)
PAN ID for router node on CC1352P1 couldn't change as it updated based on joined network
So i'm following the ti-wisun-pyspinel guide https://github.com/TexasInstruments/ti-wisunfan-pyspinel for both BR and RN, was able to set up both BR and RN on a same host, two terminals on pyspinel. I came across this https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1322882/cc1352p7-ti-wisunfantund-wi-sun-networking-on-beagleplay-board/5045512#5045512 and Arthur R [2] pointed out that there might be a network interface issue with having both interfaces on the same host, so needed to deploy on different host or VM.
So i deployed the RN on a different host, and the pyspinel showed that there was no connection with the WiSUN network after 10-15minutes of `ifconfig up` + `wisunstack start`.
I couldn't upload image, seemed to have some sort of uploading issues.
// spinel-cli on Border Router, everything is smooth.
**************
spinel-cli > panid
0xbeef
Done
spinel-cli > ifconfig
up
Done
spinel-cli > wisunstack
start
Done
spinel-cli > routerstate
5
Successfully joined and operational
Done
spinel-cli >
***************
// spinel-cli on Router Node, wisunstack appears as stop, i reset and ifconfig up and wisunstack start, wisunstack still appears as stop, but routerstate is scanning for suitable network
***************
spinel-cli > panid
0xffff
Done
spinel-cli > ifconfig
up
Done
spinel-cli > wisunstack
stop
Done at Thu Jul 25 18:32:32 2024
spinel-cli > wisunstack start
Error
spinel-cli > routerstate
1
Scanning for suitable network
Done
spinel-cli > reset
spinel-cli > routerstate
0
Idle
Done
spinel-cli > ifconfig
down
Done
spinel-cli > ifconfig up
Done
spinel-cli > wisunstack
stop
Done at Thu Jul 25 18:33:00 2024
spinel-cli > wisunstack start
Done at Thu Jul 25 18:33:06 2024
spinel-cli > wisunstack
stop
Done at Thu Jul 25 18:33:10 2024
spinel-cli > routerstate
1
Scanning for suitable network
Done
spinel-cli >
**************
Let me know if there's any more information needed or things to try