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()
341 void SHELL_Task(shell_handle_t shellHandle) in SHELL_Task()
347 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Task()
571 static shell_status_t SHELL_HelpCommand(shell_handle_t shellHandle, int32_t argc, char **argv) in SHELL_HelpCommand() argument
573 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_HelpCommand()
591 static shell_status_t SHELL_ExitCommand(shell_handle_t shellHandle, int32_t argc, char **argv) in SHELL_ExitCommand() argument
593 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_ExitCommand()
909 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt) in SHELL_Init() argument
915 assert(shellHandle); in SHELL_Init()
922 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Init()
925 (void)memset(shellHandle, 0, SHELL_HANDLE_SIZE); in SHELL_Init()
993 shell_status_t SHELL_RegisterCommand(shell_handle_t shellHandle, shell_command_t *shellCommand) in SHELL_RegisterCommand() argument
995 shell_context_handle_t *shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_RegisterCommand()
996 assert(shellHandle); in SHELL_RegisterCommand()
1019 shell_status_t SHELL_Write(shell_handle_t shellHandle, const char *buffer, uint32_t length) in SHELL_Write() argument
1025 assert(shellHandle); in SHELL_Write()
1033 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Write()
1064 int SHELL_Printf(shell_handle_t shellHandle, const char *formatString, ...) in SHELL_Printf() argument
1071 assert(shellHandle); in SHELL_Printf()
1074 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_Printf()
1088 length = (uint32_t)SHELL_Sprintf(shellHandle, formatString, ap); in SHELL_Printf()
1109 shell_status_t SHELL_WriteSynchronization(shell_handle_t shellHandle, const char *buffer, uint32_t … in SHELL_WriteSynchronization() argument
1116 status = SHELL_Write(shellHandle, buffer, length); in SHELL_WriteSynchronization()
1123 int SHELL_PrintfSynchronization(shell_handle_t shellHandle, const char *formatString, ...) in SHELL_PrintfSynchronization() argument
1132 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_PrintfSynchronization()
1136 length = (uint32_t)SHELL_Sprintf(shellHandle, formatString, ap); in SHELL_PrintfSynchronization()
1138 status = SHELL_Write(shellHandle, (const char *)shellContextHandle->printBuffer, length); in SHELL_PrintfSynchronization()
1144 void SHELL_ChangePrompt(shell_handle_t shellHandle, char *prompt) in SHELL_ChangePrompt() argument
1147 assert(shellHandle); in SHELL_ChangePrompt()
1150 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_ChangePrompt()
1156 void SHELL_PrintPrompt(shell_handle_t shellHandle) in SHELL_PrintPrompt() argument
1159 assert(shellHandle); in SHELL_PrintPrompt()
1161 shellContextHandle = (shell_context_handle_t *)shellHandle; in SHELL_PrintPrompt()