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 (http://cloudconnectkits.org/product/att-cellular-iot-starter-kit).

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 https://github.com/ARMmbed/mbed-cli)

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

Example Programs

Import the example programs below and follow the README.md 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

WNC FIRWARE VERSION

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

  • MPSS: M14A2A_v11.21.162331 APSS: M14A2A_v11.27.162331

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.

History

waitUs() was calling wait_ms(), fixed now. Nothing was using waitUs() yet anyways, so the bug is benign. default tip

2017-06-22, by fkellermavnet [Thu, 22 Jun 2017 02:33:37 +0000] rev 33

waitUs() was calling wait_ms(), fixed now. Nothing was using waitUs() yet anyways, so the bug is benign.


Debug output was using the UART which caused collisions with stdio who may be using the same UART. Implemented a WNCDebug class that allows the user to define where to send the debug info--UART, STDOUT, STDERR.

2017-04-19, by JMF [Wed, 19 Apr 2017 15:18:48 +0000] rev 32

Debug output was using the UART which caused collisions with stdio who may be using the same UART. Implemented a WNCDebug class that allows the user to define where to send the debug info--UART, STDOUT, STDERR.


The changes in this commit only update the UART serial routines from MODSERIAL to BufferedSerial. The BufferedSerial library has better support in mbed v5. MODSERIAL doesn't compile properly.

2017-04-17, by JMF [Mon, 17 Apr 2017 23:58:40 +0000] rev 31

The changes in this commit only update the UART serial routines from MODSERIAL to BufferedSerial. The BufferedSerial library has better support in mbed v5. MODSERIAL doesn't compile properly.


...

2017-04-06, by jmf [Thu, 06 Apr 2017 21:43:07 -0400] rev 30

...


Switched to standard 'Serial' used in Mbed v5.4

2017-04-06, by JMF [Thu, 06 Apr 2017 19:19:55 +0000] rev 29

Switched to standard 'Serial' used in Mbed v5.4


just re-imported it

2017-04-06, by JMF [Thu, 06 Apr 2017 13:57:24 +0000] rev 28

just re-imported it


Updates to account for compiler changes.

2017-03-24, by JMF [Fri, 24 Mar 2017 22:25:57 +0000] rev 27

Updates to account for compiler changes.


Fixed several compile errors that occurred when the mbed compiler was upgraded.

2017-03-09, by JMF [Thu, 09 Mar 2017 00:59:39 +0000] rev 26

Fixed several compile errors that occurred when the mbed compiler was upgraded.


updated the compiled lib

2016-12-06, by JMF [Tue, 06 Dec 2016 22:38:21 +0000] rev 25

updated the compiled lib


Added tag att_cellular_K64_wnc_14A2A_20161117 for changeset 43a36c66c574

2016-11-17, by root@developer-sjc-cyan-compiler.local.mbed.org [Thu, 17 Nov 2016 18:31:53 +0000] rev 24

Added tag att_cellular_K64_wnc_14A2A_20161117 for changeset 43a36c66c574