Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Opeartion.cpp
00001 #include "Operation.h" 00002 00003 const char *strPending = "PENDING"; 00004 const char *strExecuting = "EXECUTING"; 00005 const char *strSuccessful = "SUCCESSFUL"; 00006 const char *strFailed = "FAILED"; 00007 00008 const char* strOperationState(const OperationState state) 00009 { 00010 switch (state) { 00011 case OPERATION_EXECUTING: return strExecuting; 00012 case OPERATION_SUCCESSFUL: return strSuccessful; 00013 case OPERATION_FAILED: return strFailed; 00014 case OPERATION_PENDING: return strPending; 00015 } 00016 }
Generated on Sat Jul 16 2022 07:10:59 by
1.7.2
