Report
4 years, 2 months ago.

Programming Error: Line 534 (MDM.h)

I tried compiling with a C++11 compliant toolchain and it found a bad argument name in the MDM.h file:

Line 534:

static int _cbCUSD(int type, const char* buf, int len, char* buf);

Should be (to match definition in MDM.cpp):

static int _cbCUSD(int type, const char* buf, int len, char* resp);

(reason: early compilers don't take notice of the argument names, just the types and positions).

Question relating to:

support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets. C027, u-blox
Comment on this question

1 Answer

4 years, 2 months ago.

Hello,

can you send a pull request to fix it? Thanks !

Done (I think)

posted by Yumsus Smith 06 May 2015

Also, why 786800? (0xc0170)

posted by Yumsus Smith 06 May 2015

+1 for sending PR. That's my nickname , translated to kojto (pronounced as coito)

posted by Martin Kojtal 06 May 2015

This pull request was still not accepted!

posted by Daniel Bub 28 Aug 2015

To post an answer, please log in.