Menu

Reading the config-file

Help
hermaniger
2009-03-27
2012-12-14
  • hermaniger

    hermaniger - 2009-03-27

    Hi,

    i'm developing an application which wraps knx devices to upnp-device using linknx and eibd. My problem now is, that i should have a possibility to read in the linknx-config xml-file with all the information in it (especially in the <objects>-section). For example: When I use "<read><objects /></read>" I get an answer with all objects in it, but not like the objects are defined in the config file (I also need the type- and group-address-attributes). Is it possible to ask linknx for it with a xml-statement?

    Another possibility to solve my problem would be to store the config file in a folder which will be accessible through FTP. Then i could read in the file as stream with all informations in it. But that's not the way i would prefer.

    Many thanks for any help in advance!

    Regards,
    Alex

     
    • jef2000

      jef2000 - 2009-03-27

      Hi,

      If you want the configuration of the objects, you have to use the following xml request:

      <read><config><objects/></config></read>

      This request will return the full list of objects.

      Regards,

      Jean-François

       
    • hermaniger

      hermaniger - 2009-03-30

      Ok, that's it...

      Many Thanks!

       
    • hermaniger

      hermaniger - 2009-03-30

      Ok, that's it...

      Many Thanks!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.