-
Notifications
You must be signed in to change notification settings - Fork 3
feat contention slots
Describe the contention slot feature in Baloo.
A contention slot refers to a slot where more than one node initiates a transmission with its own payload. When two nodes send different packets synchronously to the same receiver, one of the packet may still be received with high probability thanks to the capture effect.
This feature is always enabled.
Available for all supported platforms.
Compatible with all features and communication primitives.
A slot is configured as a contention slot via the slot array in the schedule section of the control packet: instead of a specific node ID, assign the macro GMW_SLOT_CONTENTION
.
The information that a data slot is a contention slot is passed to the NET layer as a parameter of the on_slot_pre()
callback. In such a slot, the middleware initiates a transmission only if the out_len
is non-zero. Otherwise, the middleware starts the primitive as a receiver.
The baloo-crystal
application (see \examples
) provides an example use this feature: the first data slot in the round is always a contention slot.