Page tree
Skip to end of metadata
Go to start of metadata

If you are new to OpenWSN, follow the following tutorials to get started:

OpenWSN is an open-source project which relies on the community to keep things up-to-date and flag errors. If something doesn't look right in a page, please add a comment to it so it gets fixed.

  • No labels

11 Comments

  1. What exactly is a mote?

    1. Olivier Julien A mote is basically a hardware node in a Wireless Sensor Network.

  2. Dear  Tengfei Chang  Thomas Watteyne

    We are trying to integrate Openwsn to Android platform.

    We faced following problems:

    1. How to create tunnel interface in android and how to send ipv6 packet data to tun0.
    2. Is there any "openvisualizer" opensource in Android?
  3. Hi,

    While running scons runweb command I am getting following error May I know how to resolve it?


    created following virtual interface:
    5: tun2: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
    link/none
    inet6 bbbb::1/64 scope global
    valid_lft forever preferred_lft forever
    inet6 fe80::1/64 scope link
    valid_lft forever preferred_lft forever
    Traceback (most recent call last):
    File "bin/openVisualizerApp/openVisualizerWeb.py", line 374, in <module>
    app = openVisualizerApp.main(parser)
    File "/home/user/Desktop/openwsn/openwsn-sw/software/openvisualizer/bin/openVisualizerApp/openVisualizerApp.py", line 195, in main
    simTopology = argspace.simTopology,
    File "/home/user/Desktop/openwsn/openwsn-sw/software/openvisualizer/bin/openVisualizerApp/openVisualizerApp.py", line 80, in __init__
    moteConnector.moteConnector(mp.getSerialPortName()) for mp in self.moteProbes
    AttributeError: 'moteProbe' object has no attribute 'getSerialPortName'

  4. Dear,

    We are trying to integrate openwsn to Android platform.

    We are following Kickstart Linux guideline.

    • creating tunnel in android completed
    • set dagroot also working fine (local server running)
    • no problem with receiving RPL packet throw serial port

    But we cannot create coap server with bbbb::1 ip address in android.

    Python gives us following error:

    Traceback (most recent call last):
    File "./test_server.py", line 32, in <module>
    c = coap.coap(ipAddress='bbbb::1')
    File "/mnt/shell/emulated/0/Download/coap-develop/bin/../coap/coap.py", line 52, in __init__
    callback = self._receive,
    File "/mnt/shell/emulated/0/Download/coap-develop/bin/../coap/socketUdpReal.py", line 39, in __init__
    self.socket_handler.bind((self.ipAddress,self.udpPort))
    File "/QPython/QPython2-core/build/python-install/lib/python2.7/socket.py", line 224, in meth
    socket.error: getsockaddrarg: bad family


    And one more question, We cannot ping to the end mote. Android ping6 gives us following error:

    connect: Network is unreachable

    Tunnel created as follows:

    root@shieldtablet:/ # ip addr show tun0
    13: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
    link/none
    inet6 bbbb::1/64 scope global
    valid_lft forever preferred_lft forever
    inet6 fe80::1/64 scope link
    valid_lft forever preferred_lft forever


    Please help us.

    Thank you guys

     

  5. Hi,

    I followed getting started instruction and successfully load on telos board but while running command on the openvisualizer  using scons runweb command I am getting following error:

    Traceback (most recent call last):
    File "bin/openVisualizerApp/openVisualizerWeb.py", line 40, in <module>
    import openVisualizerApp
    File "/home/user/Desktop/openwsn/openwsn-sw/software/openvisualizer/bin/openVisualizerApp/openVisualizerApp.py", line 27, in <module>
    from openvisualizer.RPL import UDPInject
    ImportError: cannot import name UDPInject
    scons: *** [bin/openVisualizerApp/openVisualizerWeb] Error 1
    scons: building terminated because of errors.


    1. smpj,

      Maybe you have a circular import inyour source code, that python doesn't allow you to do so. Do you have this problem with default openwsn-sw code?

      1. Thanks Tengfei Chang,

        This problem is in default code and clone from https://github.com/openwsn-berkeley/openwsn-sw

        1. smpj, have you added additional files in the code? Since I could run the openvisualizer without this problem locally with default code. It's weird to have different behaviors.