|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Header file for the MCUmgr transport management group API. More...
#include <stdint.h>#include <stdbool.h>#include <zephyr/mgmt/mcumgr/transport/smp.h>#include <zephyr/mgmt/mcumgr/mgmt/mgmt_defines.h>Go to the source code of this file.
Macros | |
| #define | TRANSPORT_MGMT_DIRECTION_INCOMING false |
| Incoming transport whereby the device will forward read/write request packets on the specified transport and send them out on the transport it is bridged with. | |
| #define | TRANSPORT_MGMT_DIRECTION_OUTGOING true |
| Outgoing transport whereby the device will forward read/write response packets on the specified transport and send them out on the transport it is bridged with. | |
Functions | |
| bool | transport_mgmt_is_bridged (struct smp_transport *transport, bool direction) |
| Checks if a given transport is bridged or not. | |
| struct smp_transport * | transport_mgmt_get_other_transport (struct smp_transport *transport, bool direction) |
| Gets the other transport which is part of a bridge. | |
| const struct smp_transport_bridge * | transport_mgmt_get_bridge (struct smp_transport *transport, bool direction) |
| Gets a transport bridge context. | |
| int | transport_mgmt_disconnect_bridge (struct smp_transport_bridge *bridge) |
| Disconnects an active bridge. | |
| int | transport_mgmt_disconnect_transport (struct smp_transport *transport, bool incoming, bool outgoing) |
| Disconnects an active bridge. | |
| int | transport_mgmt_disconnect_all (void) |
| Disconnects all active bridges. | |
| const uint16_t | transport_mgmt_group_id (void) |
| Gets the group ID for transport management group. | |
Header file for the MCUmgr transport management group API.