int messageport_register_local_port(const char* local_port, messageport_message_cb callback);
/**
- * @brief Registers the trusted local message port.
+ * @brief Registers the trusted local message port. @n
+ * This allows communications only if the applications are signed with the same certificate which is uniquely assigned to the developer.
*
* @param [in] local_port the name of the local message port
* @param [in] callback The callback function to be called when a message is received
int messageport_send_message(const char* remote_app_id, const char* remote_port, bundle* message);
/**
- * @brief Sends a trusted message to the message port of a remote application.
+ * @brief Sends a trusted message to the message port of a remote application. @n
+ * This allows communications only if the applications are signed with the same certificate which is uniquely assigned to the developer.
*
* @param [in] remote_app_id The ID of the remote application
* @param [in] remote_port the name of the remote message port
*
* int id = messageport_register_local_port("HelloPort", OnMessageReceived);
*
- * int ret = messageport_send_message(id, "0123456789.BasicApp", "BasicAppPort", b);
+ * int ret = messageport_send_bidirectional_message(id, "0123456789.BasicApp", "BasicAppPort", b);
*
* bundle_free(b);
* }
/**
* @brief Sends a trusted message to the message port of a remote application. This method is used for the bidirectional communication.
+ * This allows communications only if the applications are signed with the same certificate which is uniquely assigned to the developer.
*
* @param [in] id The message port id returned by messageport_register_local_port() or messageport_register_trusted_local_port()
* @param [in] remote_app_id The ID of the remote application