Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Sigfox by
Sigfox.cpp@0:5e0ae613c18c, 2017-04-18 (annotated)
- Committer:
- Raffaello
- Date:
- Tue Apr 18 13:49:20 2017 +0000
- Revision:
- 0:5e0ae613c18c
- Child:
- 1:93450d8b2540
Introduction Sigfox library
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Raffaello | 0:5e0ae613c18c | 1 | |
| Raffaello | 0:5e0ae613c18c | 2 | #include "Sigfox.h" |
| Raffaello | 0:5e0ae613c18c | 3 | |
| Raffaello | 0:5e0ae613c18c | 4 | bool Sigfox::ready() { |
| Raffaello | 0:5e0ae613c18c | 5 | _at->send("AT"); |
| Raffaello | 0:5e0ae613c18c | 6 | return _at->recv("OK"); |
| Raffaello | 0:5e0ae613c18c | 7 | } |
| Raffaello | 0:5e0ae613c18c | 8 | |
| Raffaello | 0:5e0ae613c18c | 9 | bool Sigfox::send(const char *data) { |
| Raffaello | 0:5e0ae613c18c | 10 | _at->send("AT$SF=%s", data); |
| Raffaello | 0:5e0ae613c18c | 11 | return _at->recv("OK"); |
| Raffaello | 0:5e0ae613c18c | 12 | } |
