Library for controlling the WNC 14A2A from the K64F Freedom Board. It fulfills platform specific pure virtual methods from the WncControllerLibrary.
Dependencies: WncControllerLibrary
Fork of WncControllerK64F by
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
Removed direct usage of debug UART for debug. Added check for debug uart NULL pointer.
2016-11-17, by fkellermavnet [Thu, 17 Nov 2016 15:31:35 +0000] rev 23
Removed direct usage of debug UART for debug. Added check for debug uart NULL pointer.
Added check for NULL for debug uart for toggle of wake-pin.
2016-11-16, by fkellermavnet [Wed, 16 Nov 2016 18:18:56 +0000] rev 22
Added check for NULL for debug uart for toggle of wake-pin.
Removed the power save mode turn off.
2016-10-10, by fkellermavnet [Mon, 10 Oct 2016 17:02:35 +0000] rev 21
Removed the power save mode turn off.
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.
2016-10-07, by fkellermavnet [Fri, 07 Oct 2016 18:37:26 +0000] rev 20
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.
Changed cell status check to return earlier if a no response is detected.
2016-09-23, by fkellermavnet [Fri, 23 Sep 2016 14:55:44 +0000] rev 19
Changed cell status check to return earlier if a no response is detected.
Found WNC is giving an error sometimes for sock close.
2016-09-23, by fkellermavnet [Fri, 23 Sep 2016 05:00:38 +0000] rev 18
Found WNC is giving an error sometimes for sock close.
Re-arranged error handling 1 more time.
2016-09-23, by fkellermavnet [Fri, 23 Sep 2016 03:14:42 +0000] rev 17
Re-arranged error handling 1 more time.
Patched up SMS message parsing, the WNC makes it really really hard due to the way it formats its strings.
2016-09-21, by fkellermavnet [Wed, 21 Sep 2016 02:32:26 +0000] rev 16
Patched up SMS message parsing, the WNC makes it really really hard due to the way it formats its strings.
Fixed prior bug with term.
2016-09-16, by fkellermavnet [Fri, 16 Sep 2016 17:10:14 +0000] rev 15
Fixed prior bug with term.
Added firmware revision reporting to the init.
2016-09-16, by fkellermavnet [Fri, 16 Sep 2016 15:38:44 +0000] rev 14
Added firmware revision reporting to the init.