Parse your XML introspection file for DBus to the godbus library.
Note: This is work in progress, it may not work properly for some specific use cases
- Methods
- Signals
- Properties
- byte | BYTE
- bool | BOOLEAN
- int16 | INT16
- uint16 | UINT16
- int | INT32
- uint | UINT32
- int32 | INT32
- uint32 | UINT32
- int64 | INT64
- uint64 | UINT64
- float64 | DOUBLE
- string | STRING
- ObjectPath | OBJECT_PATH
- Signature | SIGNATURE
- Variant | VARIANT
- interface{} | VARIANT
- UnixFDIndex | UNIX_FD
- array | ARRAY
- map | DICT
- struct | STRUCT
- click (8.0.3)
- xmltodict (0.12.0)
To install them just run:
pip3 install click xmltodict
git clone https://github.com/JeysonFlores/xml2godbus
cd xml2godbus
sudo python3 setup.py install
xml2-godbus --xml MyFile.xml