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.
Dependents: Wifi_Get_Test_V1 simple-mbed-client-example simple-client-app-shield simple-sensor-client
Fork of simple-mbed-client by
Revision 23:c89df15e88d2, committed 2017-03-21
- Comitter:
- Jan Jongboom
- Date:
- Tue Mar 21 13:03:49 2017 +0100
- Parent:
- 22:17b4681e3353
- Commit message:
- Update mbed-client, works with mbed OS 5.4.1
Changed in this revision
| mbed-client-wrapper.h | Show annotated file Show diff for this revision Revisions of this file |
| mbed-client.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/mbed-client-wrapper.h Wed Feb 08 11:51:20 2017 +0100
+++ b/mbed-client-wrapper.h Tue Mar 21 13:03:49 2017 +0100
@@ -282,10 +282,10 @@
*/
virtual void value_updated(M2MBase *base, M2MBase::BaseType type) {
if (_debug) printf("[SMC] PUT Request Received, type=%d\n", type);
- if (!base->uri_path().empty()) {
- if (_debug) printf("[SMC] PUT came in for %s\n", base->uri_path().c_str());
+ if (strcmp(base->uri_path(), "") != 0) {
+ if (_debug) printf("[SMC] PUT came in for %s\n", base->uri_path());
- _onValueChanged.call(string(base->uri_path().c_str()));
+ _onValueChanged.call(string(base->uri_path()));
}
}
--- a/mbed-client.lib Wed Feb 08 11:51:20 2017 +0100 +++ b/mbed-client.lib Tue Mar 21 13:03:49 2017 +0100 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-client/#92bdf6a699581679fcefeb986d1008fc59d0fb03 +https://github.com/ARMmbed/mbed-client/#52e65b46dff7935024e91ed045eadaab298149b6
