Library for controlling the WNC 14A2A from the K64F Freedom Board. It fulfills platform specific pure virtual methods from the WncControllerLibrary.

Dependencies:   WncControllerLibrary

Dependents:   WNC14A2AInterface

Fork of WncControllerK64F by Fred Kellerman

Use this interface to connect to and interact with the WNC M14A2A LTE Cellular Data Module which is provided by Wistron NeWeb Corporation (WNC) when using ARMmbed v5. The interface provides a Networking interface that can be used with the AT&T Cellular IoT Starter Kit that is sold by Avnet (

To demonstrate the use of the Interface, a series of example programs have been provided. Links to these examples are provided below. All examples can be compiled using both the on-line compiler and the ARMmbed CLI (command line interface, see

NOTE: This library/class is specific to the AT&T Cellular IoT Starter Kit which uses a FRDM-K64F. The users compiler should be configured to use the FRDM-K64F platform.

Example Programs

Import the example programs below and follow the in each to run the example program.

  • several examples of the interface using easy_connect.
  • SMS demonstration program that demonstrates SMS usage
  • Sockets demonstration program demonstrating using TCP sockets to interact with others
  • As new example program are developed, this README will be updated


The WNCInterface class currently supports the following version(s):

  • MPSS: M14A2A_v11.21.162331 APSS: M14A2A_v11.27.162331


This library is released under the Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License and may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Revisions of WncController.lib

Revision Date Message Actions
30:11d88f24cde3 2017-04-06 ... File  Diff  Annotate
26:36b2f37a8f52 2017-03-09 Fixed several compile errors that occurred when the mbed compiler was upgraded. File  Diff  Annotate
25:7d8047f02ec9 2016-12-06 updated the compiled lib File  Diff  Annotate
23:43a36c66c574 2016-11-17 Removed direct usage of debug UART for debug. Added check for debug uart NULL pointer. File  Diff  Annotate
21:10cae290b2d1 2016-10-10 Removed the power save mode turn off. File  Diff  Annotate
20:fcc6b61a5610 2016-10-07 Added toggle of wakeup pin to try an prevent the drop of the 'A'.; Added cmd to turn off power saving mode, this is thought to maybe be the cause of the no response. File  Diff  Annotate
19:846140c6589f 2016-09-23 Changed cell status check to return earlier if a no response is detected. File  Diff  Annotate
18:f5ad6168ad55 2016-09-23 Found WNC is giving an error sometimes for sock close. File  Diff  Annotate
17:632fb326d28f 2016-09-23 Re-arranged error handling 1 more time. File  Diff  Annotate
16:0933aa0fe01e 2016-09-21 Patched up SMS message parsing, the WNC makes it really really hard due to the way it formats its strings. File  Diff  Annotate
14:82ea5368db2f 2016-09-16 Added firmware revision reporting to the init. File  Diff  Annotate
13:ef379cdd57aa 2016-09-16 term mode interface change. File  Diff  Annotate
12:70c96763e8f7 2016-09-15 Added a no response to the state of the WNC File  Diff  Annotate
11:6f9962fe976a 2016-09-14 Changed read to return -1 when WNC fails. File  Diff  Annotate
10:71f7128b15bb 2016-09-13 Updated nested lib. File  Diff  Annotate
9:e1c6615bae24 2016-09-10 Updates to library revision. File  Diff  Annotate
8:4a921487e7d3 2016-09-09 Fixed small buffer reading in base class. File  Diff  Annotate
7:b0a0d05ce6e5 2016-09-09 Updated WncControllerLibrary File  Diff  Annotate
5:2d5687bcf629 2016-09-09 Updated WncController. File  Diff  Annotate
2:e37b93f16371 2016-09-06 Added new read method, fixed old one. File  Diff  Annotate
1:02894d5af4cd 2016-09-02 Re-arranged library hierarchy. File  Diff  Annotate