@@ -167,7 +167,7 @@ class GSM3ShieldV1ModemCore : public GSM3SoftSerialMgr, public Print
167167 @param CR Carriadge return adding automatically
168168 @return size
169169 */
170- virtual size_t writePGM (PROGMEM prog_char str[] , bool CR=true );
170+ virtual size_t writePGM (PGM_P str, bool CR=true );
171171
172172 /* * Establish debug mode
173173 @param db Boolean that indicates debug on or off
@@ -182,24 +182,18 @@ class GSM3ShieldV1ModemCore : public GSM3SoftSerialMgr, public Print
182182 */
183183 bool genericParse_rsp (bool & rsp, char * string=0 , char * string2=0 );
184184
185- /* * Generates a generic AT command request from PROGMEM prog_char buffer
185+ /* * Generates a generic AT command request from PROGMEM buffer
186186 @param str Buffer with AT command
187187 @param addCR Carriadge return adding automatically
188188 */
189- void genericCommand_rq (PROGMEM prog_char str[] , bool addCR=true );
189+ void genericCommand_rq (PGM_P str, bool addCR=true );
190190
191191 /* * Generates a generic AT command request from a simple char buffer
192192 @param str Buffer with AT command
193193 @param addCR Carriadge return adding automatically
194194 */
195195 void genericCommand_rqc (const char * str, bool addCR=true );
196196
197- /* * Generates a generic AT command request from characters buffer
198- @param str Buffer with AT command
199- @param addCR Carriadge return adding automatically
200- */
201- void genericCommand_rq (const char * str, bool addCR=true );
202-
203197 /* * Returns the circular buffer
204198 @return circular buffer
205199 */
@@ -257,4 +251,4 @@ class GSM3ShieldV1ModemCore : public GSM3SoftSerialMgr, public Print
257251
258252extern GSM3ShieldV1ModemCore theGSM3ShieldV1ModemCore;
259253
260- #endif
254+ #endif
0 commit comments