This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, I have recently bought a couple of CC1352P7-1 launch pads for testing and implementation of WiSUN network. I tried the test program "ti-wisunfan-pyspinel" from github and established a small PAN network. Since its a simple tool for experimenting WiSUN communiciation, I am looking for some example programs / guides to build and develop NWP based border routers and node routers from scratch.
I have also treid the "ti-wisunfantund" from githib which establishes WiSUN FAN network but its not working with the LP-CC1352P7-1 devices. I am getting "Interface is not up" and "Stack is not up" errors. you can refer the attachment below. So if someone could point me in a right direction that would help me a lot.
Thanking you with regards,
Sabarinath Jayaraman.
Hi Sabarinath,
The wfantund driver seems to be working. Have you also started wfanctl and set the interface and stack up?
This should allow you to start the wisun network.
Also, please take a look at the ti-wisun-webapp folder in the same repo.
https://github.com/TexasInstruments/ti-wisunfantund/blob/release/ti-wisun-webapp/README.md
This is an example implementation of the border router host gateway.
Regards,
Sid
Hi Sid, got that but, what i am really trying is to implement the WiSUN communication for NWP based routers as an automated process running in the background of the host device which are connected to. But upon testing it with the ti-wisunfan-pyspinel program, it requires user inputs and runs in a shell command. So isn't there some other example programs which i can modify them and run it as a backgound process?
Hi Sabrinath,
You can indeed modify the spinel-cli.py to achieve this. You would have to remove the cli component of it and define your own class with all the methods of Spinel-CLI class.
I will share an example of how to do this shortly.
Regards,
Sid
Sorry Sabarinath, I will share the example on Monday next week. I cannot work on this today.
Hi Sabarinath,
I did work on this a bit. I was able to remove the CLI and call the methods directly in the main.
Please can you accept my friend request on E2E, I can share this quick solution as is.
But I think the more comprehensive example we have for the gateway is still the wfantund based ti-wisun-webapp that allows you to control the Border Router through spinel commands.
Regards,
Sid
Hi Sid, I have accepted your request. I understand that ti-wisun-webapp allows to monitor through its interactive interface. But, the ultimate goal of this modification is to communicate smart energy meters over WiSUN using CC1352. Also I am working to modify the spinel classed as you have mentioned. So, any sort of help will be appreciated.
Hi Sabarinath,
I sent you the link. I will close this thread for now. Please ask another question if there is any other specific question regarding our wisun solution.
But regarding more generic resources for application development, we provide the spinel-cli and the wfantund solutions. The customer is then expected to develop their application.
Regards,
Sid