pfodParser 5.0.1 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodStream.h
Go to the documentation of this file.
1 #ifndef pfodStream_h
2 #define pfodStream_h
3
4 #include <Arduino.h>
5
6 // This include handles the rename of Stream for MBED compiles
7 // it is included for pfodParser, pfodBLEBufferedStream, pfod_Base, pfodSMS_SIM900 and pfodWaitForUtils
8 #if defined(ARDUINO_ARDUINO_NANO33BLE) || defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_MBED_RP2040)
9 #include <Stream.h>
10 #elif defined( __MBED__ ) || defined( MBED_H )
11 #include <WStream.h>
12 #define Stream WStream
13 #else // handles pi pico librarty #if defined(ARDUINO_ARCH_RP2040) && !defined(__MBED__)
14 #include <Stream.h>
15 #endif
16
17 #endif //pfodStream_h