#include <zephyr/kernel.h>
#include <zephyr/shell/shell.h>
#include <openamp/rpmsg.h>
Go to the source code of this file.
◆ SHELL_RPMSG_DEFINE
      
        
          | #define SHELL_RPMSG_DEFINE | ( |  | _name | ) |  | 
      
 
Value:
        }
const struct shell_transport_api shell_rpmsg_transport_api
RPMsg-based shell transport.
Definition shell_rpmsg.h:29
const struct shell_transport_api * api
Definition shell.h:747
 
 
 
◆ shell_backend_rpmsg_get_ptr()
      
        
          | const struct shell * shell_backend_rpmsg_get_ptr | ( | void |  | ) |  | 
      
 
This function provides pointer to shell RPMsg backend instance. 
Function returns pointer to the shell RPMsg instance. This instance can be next used with shell_execute_cmd function in order to test commands behavior.
- Returns
- Pointer to the shell instance. 
 
 
◆ shell_backend_rpmsg_init_transport()
      
        
          | int shell_backend_rpmsg_init_transport | ( | struct rpmsg_device * | rpmsg_dev | ) |  | 
      
 
Initialize the Shell backend using the provided rpmsg_dev device. 
- Parameters
- 
  
    | rpmsg_dev | A pointer to an RPMsg device |  
 
- Returns
- 0 on success or a negative value on error 
 
 
◆ shell_rpmsg_transport_api