| <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" |
| "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> |
| <node> |
| <interface name="io.openthread.BorderRouter"> |
| <method name="Scan"> |
| <!-- |
| struct { |
| uint64 ext_address |
| string network_name |
| uint64 ext_panid |
| uint8[] steering_data |
| uint16 panid |
| uint16 joiner_udp_port |
| uint16 channel |
| uint16 rssi |
| uint8 lqi |
| uint8 version |
| bool is_native |
| bool is_joinable |
| } |
| --> |
| <arg name="scan_result" type="a(tstayqqqqyybb)" direction="out"/> |
| </method> |
| |
| <method name="Attach"> |
| <arg name="masterkey" type="ay"/> |
| <arg name="panid" type="q"/> |
| <arg name="networkname" type="s"/> |
| <arg name="extpanid" type="t"/> |
| <arg name="pskc" type="ay"/> |
| <arg name="channel_mask" type="u"/> |
| </method> |
| |
| <method name="PermitUnsecureJoin"> |
| <arg name="port" type="q"/> |
| <arg name="timeout" type="u"/> |
| </method> |
| |
| <method name="JoinerStart"> |
| <arg name="pskd" type="s"/> |
| <arg name="provision_url" type="s"/> |
| <arg name="vendor_name" type="s"/> |
| <arg name="vendor_model" type="s"/> |
| <arg name="vendor_sw_version" type="s"/> |
| <arg name="vendor_data" type="s"/> |
| </method> |
| |
| <method name="JoinerStop"> |
| </method> |
| |
| <method name="FactoryReset"> |
| </method> |
| |
| <method name="Reset"> |
| </method> |
| |
| <method name="AddExternalRoute"> |
| <!-- |
| struct { |
| struct { |
| uint8[] prefix_bytes |
| uint8 prefix_length |
| } |
| uint16 rloc |
| uint8 preference |
| bool stable |
| bool next_hop_is_self |
| } |
| --> |
| <arg name="prefix" type="((ayy)qybb)"/> |
| </method> |
| |
| <method name="RemoveExternalRoute"> |
| <!-- |
| struct { |
| uint8[] prefix_bytes |
| uint8 prefix_length |
| } |
| --> |
| <arg name="prefix" type="(ayy)"/> |
| </method> |
| |
| <!-- |
| struct { |
| struct { |
| uint8[] prefix_bytes |
| uint8 prefix_length |
| } |
| byte preference |
| struct { |
| boolean preferred |
| boolean slaac |
| boolean dhcp |
| boolean configure |
| boolean default_route |
| boolean on_mesh |
| boolean stable |
| } |
| } |
| --> |
| <method name="AddOnMeshPrefix"> |
| <arg name="prefix" type="((ayy)y(bbbbbbb))"/> |
| </method> |
| |
| <!-- |
| struct { |
| uint8[] prefix_bytes |
| uint8 prefix_length |
| } |
| --> |
| <method name="RemoveOnMeshPrefix"> |
| <arg name="prefix" type="(ayy)"/> |
| </method> |
| |
| <property name="MeshLocalPrefix" type="ay" access="readwrite"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="LegacyULAPrefix" type="ay" access="readwrite"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| bool rx_on_when_idle |
| bool secure_data_requests |
| bool device_type (ftd or mtd) |
| bool network_data (full or stable) |
| } |
| --> |
| <property name="LinkMode" type="(bbbb)" access="readwrite"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="DeviceRole" type="s" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/> |
| </property> |
| |
| <property name="NetworkName" type="s" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="PanId" type="q" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="ExtPanId" type="t" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="Channel" type="q" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="CcaFailureRate" type="q" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint32 tx_total; |
| uint32 tx_unicast; |
| uint32 tx_broadcast; |
| uint32 tx_ack_requested; |
| uint32 tx_acked; |
| uint32 tx_no_ack_requested; |
| uint32 tx_data; |
| uint32 tx_data_poll; |
| uint32 tx_beacon; |
| uint32 tx_beacon_request; |
| uint32 tx_other; |
| uint32 tx_retry; |
| uint32 tx_err_cca; |
| uint32 tx_err_abort; |
| uint32 tx_busy_channel; |
| uint32 rx_total; |
| uint32 rx_unicast; |
| uint32 rx_broadcast; |
| uint32 rx_data; |
| uint32 rx_data_poll; |
| uint32 rx_beacon; |
| uint32 rx_beacon_request; |
| uint32 rx_other; |
| uint32 rx_address_filtered; |
| uint32 rx_dest_address_filtered; |
| uint32 rx_duplicated; |
| uint32 rx_err_no_frame; |
| uint32 rx_err_unknown_neighbor; |
| uint32 rx_err_invalid_src_addr; |
| uint32 rx_err_sec; |
| uint32 rx_err_fcs; |
| uint32 rx_err_other; |
| } |
| --> |
| <property name="MacCounters" type="(uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint32 ip_tx_success; |
| uint32 ip_rx_success; |
| uint32 ip_tx_failure; |
| uint32 ip_rx_failure; |
| } |
| --> |
| <property name="LinkCounters" type="(uuuu)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="LinkSupportedChannelMask" type="u" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="Rloc16" type="q" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="ExtendedAddress" type="t" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="RouterID" type="y" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint32_t mPartitionId; ///< Partition ID |
| uint8_t mWeighting; ///< Leader Weight |
| uint8_t mDataVersion; ///< Full Network Data Version |
| uint8_t mStableDataVersion; ///< Stable Network Data Version |
| uint8_t mLeaderRouterId; ///< Leader Router ID |
| } |
| --> |
| <property name="LeaderData" type="(uyyyy)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="NetworkData" type="ay" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="StableNetworkData" type="ay" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="LocalLeaderWeight" type="y" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="ChannelMonitorSampleCount" type="u" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint8_t mChannel; |
| uint16_t mOccupancy; |
| } |
| --> |
| <property name="ChannelMonitorChannelQualityMap" type="a(yq)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint64_t mExtAddress; ///< IEEE 802.15.4 Extended Address |
| uint32_t mTimeout; ///< Timeout |
| uint32_t mAge; ///< Time last heard |
| uint16_t mRloc16; ///< RLOC16 |
| uint16_t mChildId; ///< Child ID |
| uint8_t mNetworkDataVersion; ///< Network Data Version |
| uint8_t mLinkQualityIn; ///< Link Quality In |
| int8_t mAverageRssi; ///< Average RSSI |
| int8_t mLastRssi; ///< Last observed RSSI |
| uint16_t mFrameErrorRate; ///< Frame error rate (0xffff->100%). Requires error tracking feature. |
| uint16_t mMessageErrorRate; ///< (IPv6) msg error rate (0xffff->100%). Requires error tracking feature. |
| bool mRxOnWhenIdle; ///< rx-on-when-idle |
| bool mSecureDataRequest; ///< Secure Data Requests |
| bool mFullThreadDevice; ///< Full Thread Device |
| bool mFullNetworkData; ///< Full Network Data |
| bool mIsStateRestoring; ///< Is in restoring state |
| } |
| --> |
| <property name="ChildTable" type="a(tuuqqyyyyqqbbbbb)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| uint64_t mExtAddress; ///< IEEE 802.15.4 Extended Address |
| uint32_t mAge; ///< Time last heard |
| uint16_t mRloc16; ///< RLOC16 |
| uint32_t mLinkFrameCounter; ///< Link Frame Counter |
| uint32_t mMleFrameCounter; ///< MLE Frame Counter |
| uint8_t mLinkQualityIn; ///< Link Quality In |
| int8_t mAverageRssi; ///< Average RSSI |
| int8_t mLastRssi; ///< Last observed RSSI |
| uint16_t mFrameErrorRate; ///< Frame error rate (0xffff->100%). Requires error tracking feature. |
| uint16_t mMessageErrorRate; ///< (IPv6) msg error rate (0xffff->100%). Requires error tracking feature. |
| bool mRxOnWhenIdle; ///< rx-on-when-idle |
| bool mSecureDataRequest; ///< Secure Data Requests |
| bool mFullThreadDevice; ///< Full Thread Device |
| bool mFullNetworkData; ///< Full Network Data |
| bool mIsChild; ///< Is the neighbor a child |
| } |
| --> |
| <property name="NeighborTable" type="a(tuquuyyyqqbbbbb)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="PartitionId" type="u" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="InstantRssi" type="y" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <property name="RadioTxPower" type="y" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| |
| <!-- |
| struct { |
| struct { |
| uint8[] prefix_bytes |
| uint8 prefix_length |
| } |
| uint16 rloc |
| uint8 preference |
| bool stable |
| bool next_hop_is_self |
| } |
| --> |
| <property name="ExternalRoutes" type="((ayy)qybb)" access="read"> |
| <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> |
| </property> |
| </interface> |
| |
| <interface name="org.freedesktop.DBus.Properties"> |
| <method name="Get"> |
| <arg name="interface" direction="in" type="s"/> |
| <arg name="property" direction="in" type="s"/> |
| <arg name="value" direction="out" type="v"/> |
| </method> |
| |
| <method name="GetAll"> |
| <arg name="interface" direction="in" type="s"/> |
| <arg name="properties" direction="out" type="a{sv}"/> |
| </method> |
| |
| <method name="Set"> |
| <arg name="interface" direction="in" type="s"/> |
| <arg name="property" direction="in" type="s"/> |
| <arg name="value" direction="in" type="v"/> |
| </method> |
| |
| <signal name="PropertiesChanged"> |
| <arg type="s" name="interface"/> |
| <arg type="a{sv}" name="changed_properties"/> |
| <arg type="as" name="invalidated_properties"/> |
| </signal> |
| </interface> |
| </node> |