The program sends the current location over the cellular network.
Dependencies: aconno_I2C ublox-at-cellular-interface gnss ublox-cellular-base Lis2dh12 ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx low-power-sleep
Fork of example-gnss by
aconnoHelpers/aconnoHelpers.h
- Committer:
- jurica238814
- Date:
- 2018-11-30
- Revision:
- 8:2bf886335fd0
- Child:
- 9:f943c09d9173
File content as of revision 8:2bf886335fd0:
/**
* aconno helpers header
*/
#ifndef __ACONNO_HELPERS_H__
#define __ACONNO_HELPERS_H__
#include "gnss.h"
#define CHECK_TALKER(s) ((buffer[3] == s[0]) && (buffer[4] == s[1]) && (buffer[5] == s[2]))
/**
* Standard integer to string function
* @param num Integer to convert
* @param str Pointer to the buffer
* @param base Number's base
* @return Pointer to the output string
*/
extern "C" char* itoa(int num, char* str, int base);
/**
* Standard string reverse function
* @param str Pointer to the string
*/
void reverse(char *str);
bool getGPSData(char *location, GnssSerial *gnss);
#endif //
