TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136537 times)
  2. FAT32 Library (69734 times)
  3. Network Ethernet Library (55842 times)
  4. USB Device Library (46177 times)
  5. Network WiFi Library (41801 times)
  6. FT800 Library (40987 times)
  7. GSM click (28922 times)
  8. PID Library (26384 times)
  9. mikroSDK (26280 times)
  10. microSD click (25298 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

AnyNet 2G click

Rating:

0

Author: MIKROE

Last Updated: 2017-11-23

Package Version: 1.0.0.0

Category: GSM/LTE

Downloaded: 768 times

Not followed.

License: MIT license  

AnyNet 2G click is a cellular to AWS gateway device, which provides developers with the complete solution for various IoT applications, by using the AWS IoT and Cloud Storage services for the data storage, analyzing and processing.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "AnyNet 2G click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "AnyNet 2G click" changes.

Do you want to report abuse regarding "AnyNet 2G click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)

Library Blog

AnyNet 2G click

AnyNet 2G click

Front and back view of the AnyNet 2G click.

View full image

Library Description 

The library is composed of driver and API layers both available from user space. Lower driver layer carries generic AT command parser, API layer carries simplified user-friendly function calls.

Key functions

api_anynet2g_queryICCID- Provides ICC ID necessary for registration

api_anynet2g_checkStateAWS- Returns current state of the module

api_anynet2g_openTopicAWS- Opens Topic

Examples descriptions

The example shows how to properly initialize module and use API function calls. All information from the module is logged using UART so two UART modules are necessary for the example. In case that your system has only one UART module, Software UART is also usable for data logging. 

 // MODULE INIT
    anynet2g_cmdSingle( "AT" );
    api_anynet2g_firmwareID();
    api_anynet2g_queryICCID();

    api_anynet2g_checkStateAWS( _ANYNET2G_GET );

// OPEN TOPIC 0 AND PUBLISH
    api_anynet2g_openTopicAWS( _ANYNET2G_SET, "0", "MY_TOPIC" );
    api_anynet2g_publishTopicAWS( _ANYNET2G_SET, "0", "MIKROE", "" );

In addition to API calls, example carries additional functions for GPIO pin control provided during the driver initialization.

Keep in mind that AnyNet 2G click currently doesn't support Hardware Flow control so implementation of UART interrupt is a must, also timer interrupt is needed.

Other mikroE Libraries used in the example:

  • UART
  • Conversions
  • C_String

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 clickor RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

I2C Isolator 2 click

0

I2C Isolator 2 click provides I2C lines and power isolation for slave devices. It carries the ADM3260 dual I2C isolator with an integrated DC-to-DC converter. I2C Isolator 2 click is designed to run on either 3.3V or 5V power supply.

[Learn More]

Matrix RGB Click

2

Matrix RGB click is a mikroBUS add-on board powered by a 32-bit FT900 MCU designed specifically for powering 32x32 or 16x32 RGB LED matrices.

[Learn More]

eINK 1.54 inch display

5

This bundle comes with the eINK click adapter and e-Paper display 1.54”. Which provides you an easy start of any project where the e-paper display is needed.

[Learn More]