SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: SNIC/SNIC_Core.h
- Revision:
- 16:6100acfeb1f1
- Parent:
- 15:5eb637414df2
- Child:
- 17:d8bc02c455a6
--- 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;
muRata

Murata TypeYD