Skip to content

Commit 43afc24

Browse files
Update mctp document with new d-bus api
* updated mctpd.md with new d-bus api AssignBridgeStatic Signed-off-by: Faizan Ali <[email protected]>
1 parent 823a7f5 commit 43afc24

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/mctpd.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ au.com.codeconstruct.MCTP.Interface1 interface - - -
7979
.NetworkId property u 1 emits-change
8080
.Role property s "BusOwner" emits-change writable
8181
au.com.codeconstruct.MCTP.BusOwner1 interface - - -
82+
.AssignBridgeStatic method ayyyy yisbs -
8283
.AssignEndpoint method ay yisb -
8384
.AssignEndpointStatic method ayy yisb -
8485
.LearnEndpoint method ay yisb -
@@ -148,6 +149,22 @@ Like SetupEndpoint but will not assign EIDs, will only query endpoints for a
148149
current EID. The `new` return value is set to `false` for an already known
149150
endpoint, or `true` when an endpoint's EID is newly discovered.
150151

152+
#### `.AssignBridgeStatic`: `ayyyy``yisbs`
153+
154+
Similar to AssignEndpointStatic to assign static bridge eid, but also takes additional arguments:
155+
156+
`pool-start` : start EID for allocation of bridge pool.
157+
158+
`pool-size` : size of bridge pool needed to be allocated.
159+
160+
It returns extra message about Allocation status.
161+
`AssignBridgeStatic <hwaddr> <static-EID> <pool-start> <pool-size>`
162+
163+
This call will fail if the Bridge endpoint already has an EID, and that EID is
164+
different from `static-EID`, or if `static-EID` is already assigned to another
165+
endpoint.
166+
167+
151168
## Network objects: `/au/com/codeconstruct/networks/<net>`
152169

153170
These objects represent MCTP networks which have been added use `mctp link`

0 commit comments

Comments
 (0)