SNIC UART Interface library for Murata Type-YD module
Dependents: WebSocketServerTest
Fork of SNICInterface_mod by
Diff: SNIC_WifiInterface.cpp
- Revision:
- 50:d390d41d1405
- Parent:
- 47:62ba69ff80d2
diff -r 5a5cae02bdf0 -r d390d41d1405 SNIC_WifiInterface.cpp --- a/SNIC_WifiInterface.cpp Sat Jan 31 13:41:56 2015 +0000 +++ b/SNIC_WifiInterface.cpp Sun Mar 22 14:13:10 2015 +0000 @@ -33,6 +33,16 @@ mModuleReset = reset; } +void C_SNIC_WifiInterface::create( PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm, int baud) +{ + mUART_tx = tx; + mUART_rx = rx; + mUART_cts = cts; + mUART_rts = rts;; + mUART_baud = baud; + mModuleReset = reset; +} + C_SNIC_WifiInterface::~C_SNIC_WifiInterface() { }