Giter VIP home page Giter VIP logo

Comments (6)

nyrahul avatar nyrahul commented on June 1, 2024

You cannot run the application from the command line .. You need to edit the config/wf.cfg file ...
image

This configuration file is used by ./invoke_whitefield.sh script.

image

You can also check the sample demo video to understand invocation.
https://vimeo.com/291555732

from whitefield.

neeraj-badhani avatar neeraj-badhani commented on June 1, 2024

what about running whitefield in raspberry pi loaded with wheezy rasbian?

from whitefield.

nyrahul avatar nyrahul commented on June 1, 2024

what about running whitefield in raspberry pi loaded with wheezy rasbian?

Is there a reason you use raspberry for simulation framework execution?
I have never tested whitefield on raspberry and am not sure why anyone would want to use rpi for simulation purposes.

from whitefield.

neeraj-badhani avatar neeraj-badhani commented on June 1, 2024

ok can you tell me that in ipv6/rpl-udp/udp-server.c there is code for button sensor activation how we can add real hardware setup like sensors and nodes to this program and make it run.

from whitefield.

nyrahul avatar nyrahul commented on June 1, 2024

ok can you tell me that in ipv6/rpl-udp/udp-server.c there is code for button sensor activation how we can add real hardware setup like sensors and nodes to this program and make it run.

To trigger any action on the node (button press or anything else), you can use the wfshell script to send the command to the node process. Currently I use this to query node's statistics such as ipv6/rpl/icmp send/rcv/drop packet status and for all other oam cmds.

Now if you need to trigger your own action then you can add your own cmd_action_handler in the commands.c. Add the ref in PLAY_CMD(mbuf, cmd_action_handler) in cl_stackline_helpers.c.

After this you should be able to call the cmd_action_handler from wfshell using scripts/wfshell.sh cmd_action_handler

from whitefield.

nyrahul avatar nyrahul commented on June 1, 2024

Closing as these were only queries.

from whitefield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.