Axeda demo software for u-blox C027 (GSM)

Dependencies:   mbed

AMMP/axToolkit.c

Committer:
AxedaCorp
Date:
2014-08-11
Revision:
1:ff6d8adaf6b9
Parent:
0:a725e8eab383

File content as of revision 1:ff6d8adaf6b9:

#pragma once
#include "axToolkit.h"
#include "axTransport.h"

int debugEnabled=AX_TRUE;

void printDebug(char *msg) {
    if(debugEnabled==AX_TRUE){
    	ax_print(AX_DEBUG_MSG, msg);
        }
    }

void printError(char *msg) {
   ax_print(AX_ERROR_MSG, msg);
   }

int ax_debugEnabled() {
    if(debugEnabled==1) { return AX_TRUE; }
    else {return AX_FALSE; }
    }