This section describes the RPMsg Name Service component that allows:
More...
This section describes the RPMsg Name Service component that allows:
- Transmission of named endpoint creation and deletion announcement.
- Reception of the announcements.
|
typedef void(* | rpmsg_ns_new_ept_cb) (unsigned int new_ept, const char *new_ept_name, unsigned long flags, void *user_data) |
| New endpoint NS callback function type.
|
|
|
enum | rpmsg_ns_flags {
RL_NS_CREATE,
RL_NS_DESTROY
} |
|
struct rpmsg_ns_callback_data |
struct rpmsg_ns_static_context_container |
Registers application nameservice callback.
- Parameters
-
rpmsg_lite_dev | RPMsg-Lite instance |
app_cb | Application nameservice callback |
user_data | Application nameservice callback data |
- Returns
- NameService handle, to be kept for unbinding.
Unregisters application nameservice callback and cleans up.
- Parameters
-
rpmsg_lite_dev | RPMsg-Lite instance |
handle | NameService handle |
- Returns
- Status of function execution, RL_SUCCESS on success.
Sends name service announcement to remote device.
- Parameters
-
rpmsg_lite_dev | RPMsg-Lite instance |
new_ept | New endpoint to announce |
ept_name | Name for the announced endpoint |
flags | Channel creation/deletion flags |
- Returns
- Status of function execution, RL_SUCCESS on success