Lines Matching refs:shellHandle

177 static shell_status_t SHELL_HelpCommand(shell_handle_t shellHandle, int32_t argc, char **argv); /*!…
179 static shell_status_t SHELL_ExitCommand(shell_handle_t shellHandle, int32_t argc, char **argv); /*!…
228 shell_context_handle_t *shellHandle; in SHELL_SerialManagerRxCallback() local
233 shellHandle = (shell_context_handle_t *)callbackParam; in SHELL_SerialManagerRxCallback()
235 if (0U == shellHandle->notificationPost) in SHELL_SerialManagerRxCallback()
237 shellHandle->notificationPost = 1U; in SHELL_SerialManagerRxCallback()
241 shellHandle->commontaskMsg.callback = SHELL_Task; in SHELL_SerialManagerRxCallback()
242 shellHandle->commontaskMsg.callbackParam = shellHandle; in SHELL_SerialManagerRxCallback()
243 (void)COMMON_TASK_post_message(&shellHandle->commontaskMsg); in SHELL_SerialManagerRxCallback()
245 (void)OSA_EventSet((osa_event_handle_t)shellHandle->event, SHELL_EVENT_DATA_ARRIVED); in SHELL_SerialManagerRxCallback()
249 SHELL_Task(shellHandle); in SHELL_SerialManagerRxCallback()
303 void SHELL_Task(shell_handle_t shellHandle) in SHELL_Task()
309 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Task()
569 static shell_status_t SHELL_HelpCommand(shell_handle_t shellHandle, int32_t argc, char **argv) in SHELL_HelpCommand() argument
571 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_HelpCommand()
589 static shell_status_t SHELL_ExitCommand(shell_handle_t shellHandle, int32_t argc, char **argv) in SHELL_ExitCommand() argument
591 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_ExitCommand()
897 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt) in SHELL_Init() argument
903 assert(shellHandle); in SHELL_Init()
910 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Init()
913 (void)memset(shellHandle, 0, SHELL_HANDLE_SIZE); in SHELL_Init()
981 shell_status_t SHELL_RegisterCommand(shell_handle_t shellHandle, shell_command_t *shellCommand) in SHELL_RegisterCommand() argument
983 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_RegisterCommand()
984 assert(shellHandle); in SHELL_RegisterCommand()
1007 shell_status_t SHELL_Write(shell_handle_t shellHandle, const char *buffer, uint32_t length) in SHELL_Write() argument
1013 assert(shellHandle); in SHELL_Write()
1021 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Write()
1052 int SHELL_Printf(shell_handle_t shellHandle, const char *formatString, ...) in SHELL_Printf() argument
1059 assert(shellHandle); in SHELL_Printf()
1062 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Printf()
1076 length = (uint32_t)SHELL_Sprintf(shellHandle, formatString, ap); in SHELL_Printf()
1097 shell_status_t SHELL_WriteSynchronization(shell_handle_t shellHandle, const char *buffer, uint32_t … in SHELL_WriteSynchronization() argument
1104 status = SHELL_Write(shellHandle, buffer, length); in SHELL_WriteSynchronization()
1111 int SHELL_PrintfSynchronization(shell_handle_t shellHandle, const char *formatString, ...) in SHELL_PrintfSynchronization() argument
1120 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_PrintfSynchronization()
1124 length = (uint32_t)SHELL_Sprintf(shellHandle, formatString, ap); in SHELL_PrintfSynchronization()
1126 status = SHELL_Write(shellHandle, (const char *)shellContextHandle->printBuffer, length); in SHELL_PrintfSynchronization()
1132 void SHELL_ChangePrompt(shell_handle_t shellHandle, char *prompt) in SHELL_ChangePrompt() argument
1135 assert(shellHandle); in SHELL_ChangePrompt()
1138 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_ChangePrompt()
1144 void SHELL_PrintPrompt(shell_handle_t shellHandle) in SHELL_PrintPrompt() argument
1147 assert(shellHandle); in SHELL_PrintPrompt()
1149 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_PrintPrompt()