Sigfox library with integration of ATParser
Diff: Sigfox.h
- Revision:
- 2:d07e3b39ff74
- Parent:
- 1:93450d8b2540
- Child:
- 3:279bed56f354
diff -r 93450d8b2540 -r d07e3b39ff74 Sigfox.h --- a/Sigfox.h Tue Apr 18 15:05:57 2017 +0000 +++ b/Sigfox.h Wed Apr 19 20:57:38 2017 +0000 @@ -25,6 +25,8 @@ { private: ATParser *_at; + char ID[9]; + char PAC[17]; public: Sigfox(ATParser &at) : _at(&at) { @@ -35,9 +37,13 @@ bool send(const char *data); + bool setPower(uint8_t power=15); + bool setPowerMode(uint8_t power); - void getID(); + void wakeup(DigitalInOut sig_rst, float time=0.2); - void getPAC(); + char *getID(); + + char *getPAC(); }; \ No newline at end of file