mbed RPC
Dependents: WiFlyHTTPServerSample MultiThreadingHTTPServer HTTP-Server EthHTTPServer ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Revision 14:188b1505f827, committed 2016-04-11
- Comitter:
- mbed_official
- Date:
- Mon Apr 11 17:30:17 2016 +0100
- Parent:
- 13:a6fe8e713f64
- Child:
- 15:f387e5f731fa
- Commit message:
- Synchronized with git revision 02b197ca163ddbf6702c130b1799975caaf87841
Full URL: https://github.com/mbedmicro/mbed/commit/02b197ca163ddbf6702c130b1799975caaf87841/
The RPC call appended the method name to the output after the method
had already finished processing. It was unexpected for my use case,
and doesn't feel like the obvious thing to do. This could be appended
in the RPC method itself, instead.
The adding of the method to the output was first commited in commit
556b889b5ff64126eb430aa8326e8bce0b451100.
Changed in this revision
rpc.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/rpc.cpp Tue Mar 29 09:30:23 2016 +0100 +++ b/rpc.cpp Mon Apr 11 17:30:17 2016 +0100 @@ -148,7 +148,6 @@ for (; cur_method->name != NULL; cur_method++) { if (strcmp(cur_method->name, args.method_name) == 0) { (cur_method->method_caller)(p, &args, &r); - r.putData<const char*>(cur_method->name); return true; } }