WizziLab's serial protocol library

Dependents:   modem_ref_helper_for_v5_3_217 modem_ref_helper

Revision:
5:a06d239f3b3e
Parent:
4:a37e42de1ba7
Child:
8:42e00820df36
--- a/WizziCom.h	Thu May 18 08:54:01 2017 +0000
+++ b/WizziCom.h	Wed Sep 20 14:40:41 2017 +0000
@@ -1,5 +1,5 @@
-#ifndef _D7A_COM_H_
-#define _D7A_COM_H_
+#ifndef _WIZZICOM_H_
+#define _WIZZICOM_H_
 
 #include "mbed.h"
 #include "rtos.h"
@@ -160,7 +160,7 @@
     
     void                            _rx_isr();
     void                            _irq_in_isr();
-    void                            _send_raw(wizzi_com_tx_buf_t* tx_buf);
+    void                            _send_raw(uint8_t* data, uint32_t len);
     void                            _sys_xack(void);
     wizzi_com_tx_buf_t*             _new_msg(wizzi_com_tx_msg_t* msg);
     void                            _post_msg(wizzi_com_tx_msg_t* msg);
@@ -186,8 +186,10 @@
     void reset(void);
     void send(WizziComPacketType type, uint8_t length, uint8_t* data);
     void send(WizziComPacket_t* packet);
+    void print_raw(char* str);
+    void send_raw(uint8_t* data, uint32_t len);
     
     uint8_t type_to_flow(WizziComPacketType packet_type);
 };
 
-#endif // _D7A_COM_H_
\ No newline at end of file
+#endif // _WIZZICOM_H_
\ No newline at end of file