TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 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 (137101 times)
  2. FAT32 Library (70236 times)
  3. Network Ethernet Library (56126 times)
  4. USB Device Library (46434 times)
  5. Network WiFi Library (42077 times)
  6. FT800 Library (41388 times)
  7. GSM click (29116 times)
  8. mikroSDK (26562 times)
  9. PID Library (26498 times)
  10. microSD click (25487 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: 778 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

RTC for STM32F2xx/3xx/4xx

7

RTC package for STM32F2xx/3xx/4xx mcus. In the package you can find source for library and example how to use RTC with alarms. Library and example written by Nikola Markovic from our Intern's lab.

[Learn More]

2x5W Amp click

6

2x5W AMP click functions as an amplifier and features the TDA7491LP 2x5-watt dual BTL class-D audio amplifier. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target MCU over the following pins on the mikroBUSâ„¢ line: AN, RST, CS, PWM, INT.

[Learn More]

Step Up 2 click

0

Step Up 2 Click is a compact add-on board designed to boost the power capabilities of devices. This board features the TPS61299, a synchronous boost converter from Texas Instruments. This component is renowned for its low quiescent current and high efficiency under light-load conditions. The board distinguishes itself with the ability to adjust output voltage via the integrated MAX5419 digital potentiometer, offering precise control through an I2C interface. It supports external voltages from 0.2V to 5.5V, delivering a regulated output range of 1.8V to 5.5V.

[Learn More]