xap-serial standalone

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • videomanworld
    Automated Home Lurker
    • Apr 2013
    • 9

    xap-serial standalone

    Hello there
    I tried for several days to adapt "xap-serial" to work alone on a DockStar, the goal is to integrate the XBee network. a XSTICK ttyUSB0 in the DockStar. Seeking to use the XBee non-api, single bond series and messages xap "serial.comms" alone on the XBee network to avoid overload of traffic "serial" mode. a "gateway for xbee xap". one of you has t he succeeded this kind of feat?

    what is the role of:
    inifile const char [] = "/ home / xap / xap-livebox.ini"

    I can not find an example

    is this:

    [serial]
    enable = 1
    device = / dev/ttyUSB0
    speed = 9600

    .....

    if someone has a way

    thank you again to support the project xap

    nb: I can not find the work of Patrick Lindstone, currently there a backup?
    thanks
    Vincent (french old boy)
  • Kevin
    Moderator
    • Jan 2004
    • 558

    #2
    Hi,

    I don't know of anyone who has tried this approach for XBee I'm afraid. I guess you're looking at the Google repository for HAH Livebox code and so it might be worth posting your questions on the DBZoo forum re xap-livebox.ini ... but the content you have identified looks appropriate.

    Do you have a HAH LiveBox ?




    Yes , it looks like Patrick's website is down again ( patrick.lidstone.net ) . Is there something specific you were after ? .. I have a feeling there are backups of most of his code.. or an email to him should work .

    cheers Kevin
    Last edited by Kevin; 6 August 2014, 12:24 PM.

    Comment

    • dbzoo
      Automated Home Lurker
      • Aug 2010
      • 7

      #3
      Just check out and compile the portable distribution - this works on x86, rasp-pi, beaglebone and it should work for you too: http://www.dbzoo.com/livebox/portable
      More information about this program can be found on its web page: http://www.dbzoo.com/livebox/xap_serial
      Brett

      Comment

      • videomanworld
        Automated Home Lurker
        • Apr 2013
        • 9

        #4
        Hello there
        good news, I set off, I test it!

        again thank you

        Comment

        • videomanworld
          Automated Home Lurker
          • Apr 2013
          • 9

          #5
          /usr/bin/xap-hub: symbol lookup error: /usr/bin/xap-hub: undefined symbol: xapBuildAddress



          Error Message: Invalid name/value pairing. Address must have at least vendor, device and instance unless wildcard present.
          Message Line#: 7 - source=dbzoo.Serial
          Received From: 127.0.0.1:65288

          xap-hbeat
          {
          v=12
          hop=1
          uid=FF00D500
          class=xap-hbeat.alive
          source=dbzoo.Serial
          interval=60
          port=3639
          pid=192.168.1.110:843
          }


          after some research the shared lib on my system are obsolete so I replaced by new xaplib2

          correct message on xfx viewer
          but nothing response to config schema !!!

          web server klone is very slow on my dockstar

          to bee continued

          ...

          no ech with "xap-echo" !!!
          Last edited by videomanworld; 10 August 2014, 03:49 PM.

          Comment

          • dbzoo
            Automated Home Lurker
            • Aug 2010
            • 7

            #6
            Getting there.

            That error implies that you have an old xaplib2.lib that you've previously built still accessible. It should not happen.
            Originally posted by videomanworld View Post
            /usr/bin/xap-hub: symbol lookup error: /usr/bin/xap-hub: undefined symbol: xapBuildAddress
            I rewrote xap-hub a while back and some how your library and the binary don't match - only possible if you have previously built and installed from old source. (I think you figure this one out yourself)

            Originally posted by videomanworld View Post
            Error Message: Invalid name/value pairing. Address must have at least vendor, device and instance unless wildcard present.
            Message Line#: 7 - source=dbzoo.Serial
            Received From: 127.0.0.1:65288

            xap-hbeat
            {
            v=12
            hop=1
            uid=FF00D500
            class=xap-hbeat.alive
            source=dbzoo.Serial
            interval=60
            port=3639
            pid=192.168.1.110:843
            }
            This is because the "hostname" cannot be determined by xaplib2.lib so its leaving it out giving you a bad triple for source=. Or you have defined in /etc/xap.d/system.ini a deviceid= field and left it blank overriding the hostname to null causing your error.

            If indeed the system is having issues determining your hostname conversely you can workaround using the above error by setting deviceid= in /etc/xap.d/system.ini

            Brett

            Comment

            • videomanworld
              Automated Home Lurker
              • Apr 2013
              • 9

              #7
              ok

              i try fresh install on synology chroot or debian clean machine , my dockstar is obsolete

              a bientot

              Comment

              • videomanworld
                Automated Home Lurker
                • Apr 2013
                • 9

                #8
                yipie ! work on old geode board ....debian weezy

                many thanks

                Comment

                Working...
                X