Function swbus_publish
Defined in File swbus.h
Function Documentation
-
status_t swbus_publish(struct swbus *swb, uint32_t pid, size_t pkt_size, const void *pkt)
Publish a packet to the bus.
A memcpy() will be performed. If the packet is very large, consider using swbus_publish_release() instead; it will not perform a memcpy().
- Parameters:
swb – The swb handle.
pid – The packet ID.
pkt_size – The size of the packet in bytes.
pkt – The packet to publish.
- Returns: