Skip to content

Commit 0601b70

Browse files
committed
docs/mctpd: Add note about unregistration, remove busctl example
The busctl example is a bit misleading: on running this, the type will be immediately unregistered, so it will appear as though the command does not work. Replace with a note about the unregister semantics. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
1 parent 464c1cb commit 0601b70

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/mctpd.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,9 @@ If message type is already registered then dbus call will fail
5050
`<versions>` Versions supported for this message type formatted as uint32 integers as
5151
specified in DSP0236
5252

53-
Example for PLDM type with two versions:
54-
55-
```shell
56-
busctl call au.com.codeconstruct.MCTP1 /au/com/codeconstruct/mctp1 \
57-
au.com.codeconstruct.MCTP1 RegisterTypeSupport yau 1 2 0xF1F2F3F4 0xF0F0F0F1
58-
```
53+
De-registration is automatic - the specified types (and versions) are registered
54+
for as long as the dbus sender remains attached to the message bus, and are
55+
unregistered on disconnect.
5956

6057
Also it hosts two trees of MCTP objects:
6158

0 commit comments

Comments
 (0)