basic loraWAN sending, some settings done-- no keys or any of that though

Revision:
17:2fc16c1d6434
Parent:
8:7594ad70d2bf
Child:
26:f07f5febf97f
--- a/trace_helper.cpp	Thu May 10 05:16:54 2018 +0100
+++ b/trace_helper.cpp	Fri May 11 07:30:15 2018 +0100
@@ -15,13 +15,6 @@
  * limitations under the License.
  */
 
-#include "drivers/Serial.h"
-
-/**
- * Serial object for console tracing
- */
-mbed::Serial pc(USBTX, USBRX, MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
-
 /**
  * If we have tracing library available, we can see traces from within the
  * stack. The library could be made unavailable by removing FEATURE_COMMON_PAL
@@ -39,7 +32,6 @@
 
     static void serial_lock();
     static void serial_unlock();
-    static void trace_printer(const char* str);
 
     /**
      * Sets up trace for the application
@@ -52,7 +44,6 @@
         mbed_trace_mutex_wait_function_set(serial_lock);
         mbed_trace_mutex_release_function_set(serial_unlock);
         mbed_trace_init();
-        mbed_trace_print_function_set(trace_printer);
     }
 
     /**
@@ -71,15 +62,6 @@
         mutex.unlock();
     }
 
-    /**
-     * Prints the Mbed trace, used by trace library.
-     * Not intended for local use.
-     */
-    static void trace_printer(const char* str)
-    {
-        pc.printf("%s\r\n", str);
-    }
-
 #else
 
     void setup_trace()