Results 1 to 8 of 8

Thread: xap-serial standalone

  1. #1
    Automated Home Lurker
    Join Date
    Apr 2013
    Location
    france
    Posts
    9

    Default 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)

  2. #2
    Moderator Kevin's Avatar
    Join Date
    Jan 2004
    Location
    West Yorkshire
    Posts
    558

    Default

    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 ?

    http://www.homeautomationhub.com/forum


    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; 6th August 2014 at 12:24 PM.

  3. #3
    Automated Home Lurker
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    7

    Default

    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

  4. #4
    Automated Home Lurker
    Join Date
    Apr 2013
    Location
    france
    Posts
    9

    Default

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

    again thank you

  5. #5
    Automated Home Lurker
    Join Date
    Apr 2013
    Location
    france
    Posts
    9

    Default

    /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; 10th August 2014 at 03:49 PM.

  6. #6
    Automated Home Lurker
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    7

    Default Getting there.

    That error implies that you have an old xaplib2.lib that you've previously built still accessible. It should not happen.
    Quote 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)

    Quote 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

  7. #7
    Automated Home Lurker
    Join Date
    Apr 2013
    Location
    france
    Posts
    9

    Default

    ok

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

    a bientot

  8. #8
    Automated Home Lurker
    Join Date
    Apr 2013
    Location
    france
    Posts
    9

    Default

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

    many thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •