Axeda demo software for u-blox C027 (GSM)

Dependencies:   mbed

Committer:
AxedaCorp
Date:
Mon Aug 11 19:02:42 2014 +0000
Revision:
0:a725e8eab383
1st commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AxedaCorp 0:a725e8eab383 1 #pragma once
AxedaCorp 0:a725e8eab383 2 #include "axToolkit.h"
AxedaCorp 0:a725e8eab383 3 #include "axTransport.h"
AxedaCorp 0:a725e8eab383 4
AxedaCorp 0:a725e8eab383 5 int debugEnabled=AX_TRUE;
AxedaCorp 0:a725e8eab383 6
AxedaCorp 0:a725e8eab383 7 void printDebug(char *msg) {
AxedaCorp 0:a725e8eab383 8 if(debugEnabled==AX_TRUE){
AxedaCorp 0:a725e8eab383 9 ax_print(AX_DEBUG_MSG, msg);
AxedaCorp 0:a725e8eab383 10 }
AxedaCorp 0:a725e8eab383 11 }
AxedaCorp 0:a725e8eab383 12
AxedaCorp 0:a725e8eab383 13 void printError(char *msg) {
AxedaCorp 0:a725e8eab383 14 ax_print(AX_ERROR_MSG, msg);
AxedaCorp 0:a725e8eab383 15 }
AxedaCorp 0:a725e8eab383 16
AxedaCorp 0:a725e8eab383 17 int ax_debugEnabled() {
AxedaCorp 0:a725e8eab383 18 if(debugEnabled==1) { return AX_TRUE; }
AxedaCorp 0:a725e8eab383 19 else {return AX_FALSE; }
AxedaCorp 0:a725e8eab383 20 }
AxedaCorp 0:a725e8eab383 21
AxedaCorp 0:a725e8eab383 22
AxedaCorp 0:a725e8eab383 23