// Send prefix, ", suffix, ", and newline. Verify FONA response matches reply parameter. bool Adafruit_FONA::sendCheckReplyQuoted(const char *prefix, const char *suffix, const char *reply, uint16_t timeout) { getReplyQuoted(prefix, suffix, timeout); return (strcmp(replybuffer, (prog_char*)reply) == 0); }
// Send prefix, ", suffix, ", and newline. Verify FONA response matches reply parameter. boolean Adafruit_FONA::sendCheckReplyQuoted(const __FlashStringHelper *prefix, const __FlashStringHelper *suffix, const __FlashStringHelper *reply, uint16_t timeout) { getReplyQuoted(prefix, suffix, timeout); return (strcmp_P(replybuffer, (prog_char*)reply) == 0); }