koenieee / PushBullet-ESP8266

PushBullet library to send and receive notifications/sms from your ESP8266 microcontroller.
GNU General Public License v2.0
29 stars 10 forks source link

multiple compilation errors #5

Open nick-youngblut opened 5 years ago

nick-youngblut commented 5 years ago

I could not get the library to compile in the Arduino IDE 1.9.0-beta unless I changed the following in the PushBullet.cpp file:

Change 1

removed if( at line54

Change 2

Changed

sendAndToggl("/v2/pushes", "{\"body\":\""+message+"\",\"title\":\""+title+"\",\"type\":\"note\"}");

to

    String req = buildRequest("/v2/pushes", "{\"body\":\""+message+"\",\"title\":\""+title+"\",\"type\":\"note\"}");
    sendAndToggl(req);

for PushBullet::sendNotePush, PushBullet::sendLinkPush, PushBullet::sendSMSPush, and PushBullet::copyToClipboard

Notes

It appears that 124553e874bdd320962a22e462a54647a7cd4d2e introduced all of these lines which caused the compilation issues for me

sparky3387 commented 4 years ago

Also PushBulllet.h has copyToClipboard definded as void while the cpp has it as a bool