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.
Dependencies: C027_Support
Dependents: HelloC027Interface U_Blox_DeviceConnector U_Blox_DeviceConnector U-Blox_Client
Fork of LWIPInterface by
Revision 18:d2ad48926718, committed 2017-03-23
- Comitter:
- sarahmarshy
- Date:
- Thu Mar 23 21:59:18 2017 +0000
- Parent:
- 17:3f1e33e638a4
- Child:
- 19:fed715eb9c83
- Commit message:
- Fixed bug in setting APN.
Changed in this revision
| C027Interface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/C027Interface.cpp Thu Feb 02 21:16:38 2017 +0000
+++ b/C027Interface.cpp Thu Mar 23 21:59:18 2017 +0000
@@ -28,7 +28,7 @@
nsapi_error_t C027Interface::set_credentials(const char *apn, const char *username, const char *password)
{
memset(_apn, 0, sizeof(_apn));
- strncpy(_apn, apn, sizeof(apn));
+ strncpy(_apn, apn, sizeof(_apn));
memset(_username, 0, sizeof(_username));
strncpy(_username, username, sizeof(_username));
