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.
Dependents: MurataTypeYD_RPC_Sample
Fork of SNICInterface_mod by
Diff: SNIC/SNIC_Core.h
- Revision:
- 16:6100acfeb1f1
- Parent:
- 15:5eb637414df2
- Child:
- 17:d8bc02c455a6
diff -r 5eb637414df2 -r 6100acfeb1f1 SNIC/SNIC_Core.h
--- a/SNIC/SNIC_Core.h Thu Mar 27 05:12:22 2014 +0000
+++ b/SNIC/SNIC_Core.h Thu Mar 27 05:43:54 2014 +0000
@@ -182,7 +182,6 @@
{
public:
- C_SNIC_UartCommandManager mUartCommand;
/** Get buffer for command from memory pool.
@return Pointer of buffer
@@ -225,6 +224,12 @@
*/
tagCONNECT_INFO_T *getConnectInfo( int socket_id );
+ /**
+ Get pointer of the instance of C_SNIC_UartCommandManager.
+ @return The pointer of the instance of C_SNIC_UartCommandManager.
+ */
+ C_SNIC_UartCommandManager *getUartCommand();
+
/** Get an instance of the C_SNIC_Core class.
@return Instance of the C_SNIC_Core class
@note Please do not create an instance in the default constructor this class.
@@ -233,13 +238,15 @@
static C_SNIC_Core *getInstance();
protected:
- static C_SNIC_Core *mInstance_p;
- Thread *mUartRecvThread_p;
- RawSerial *mUart_p;
+ static C_SNIC_Core *mInstance_p;
+ Thread *mUartRecvThread_p;
+ RawSerial *mUart_p;
Mutex mUartMutex;
// DigitalInOut mModuleReset;
private:
+ C_SNIC_UartCommandManager *mUartCommand_p;
+
/** MemoryPool for payload of UART response */
MemoryPool<tagMEMPOOL_BLOCK_T, MEMPOOL_PAYLOAD_NUM> mMemPoolPayload;
