UDP SERVER

Discussion in 'Troubleshooting' started by Casper92, Mar 4, 2015.

  1. Casper92

    Casper92 New Member

    Joined:
    Mar 4, 2015
    Messages:
    10
    Likes Received:
    0
    Hello.

    I'm creating a project that have the same idea as Carmadillo . I have followed each and every steps provided by the developer.
    unfortunately i got an error in the UDP Server ( the screen shot of the error )

    https://app.box.com/s/v0g080ct6fe5jq47tc5gz88p468z7o5a

    I have tried all the possible ways but still the error can't be fixed. I also followed the steps here but nothing change. http://unix.stackexchange.com/questions ... mmand-line

    And Aslo i have changed the name of the port to /dev/ttymxc3 , and i got an error also. Here is a screen shot of it.

    https://app.box.com/s/e7na4skljwy7a3oqghkb07s5z4zwhwe0

    Can anyone help me? i would really appreciated :)

    PS: i upload the screen shot in the box.
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi there Casper!
    Your issue should be related to the Java serial library rxtx.
    I suggest to check this example to verify if the library is installed correctly in your system (if you are using UDOObuntu v1.1 it should be):
    https://github.com/UDOOboard/serial_lib ... aster/java

    Import in your project the right RXTXcomm.jar which is in /usr/share/java/RXTXcomm.jar
    If you got issues create a symlink to the serial port /dev/ttymxc3 called /dev/ttyS0 and use it in your java code.
    Try this, and let us know!
     
  3. Casper92

    Casper92 New Member

    Joined:
    Mar 4, 2015
    Messages:
    10
    Likes Received:
    0
    Hi Andrea.
    Thank you for your help. Actually i was following these steps. and after your reply i removed the serial library rxtx and followed the steps again.
    Thanks to god the problem is solved now. Cause for creating the symlink /dev/ttymxc3 , i created this time in the ubuntu directory.
    Once again Thank you so much.
     
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Thanks for your patience! Can't wait to see a video of your working project!! When you feel like to sharing, the place to go is udoo.hackster.io
    Cheers!
     

Share This Page