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]
Rating:
Author: MIKROE
Last Updated: 2018-12-19
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: LTE IoT
Downloaded: 4457 times
Not followed.
License: MIT license
NB IoT click is a Click board that allows LTE Cat NB1 connectivity by utilizing Quectel BC95, a specialized multi-band IoT module with very low power requirements and compact form factor, making it perfectly suited for various IoT-based applications.
Do you want to subscribe in order to receive notifications regarding "NB IoT click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "NB IoT click" changes.
Do you want to report abuse regarding "NB IoT click".
Library Description
The Library carries generic command parser adopted for AT command based modules.
Key functions:
nbiot_cmdSingle
- Sends provided command to the modulenbiot_setHandler
- Handler assignation to the provied commandnbiot_modulePower
- Turn on moduleExamples description
The application is composed of the three sections :
Commands :
// MODULE POWER ON
nbiot_hfcEnable( 1 );
nbiot_modulePower( 0 );
// MODULE INIT
//Generic AT command
nbiot_cmdSingle( &AT[0] );
nbiot_cmdSingle( &ATE[0] );
nbiot_cmdSingle( &ATI[0] );
nbiot_cmdSingle( &AT_CFUN[0] );
nbiot_cmdSingle( &AT_CIMI[0] );
nbiot_cmdSingle( &AT_CGDCONT[0] );
// UDP server - AT command
nbiot_cmdSingle( &AT_NCONFIG[0] );
nbiot_cmdSingle( &AT_NCONFIG1[0] );
nbiot_cmdSingle( &AT_NCONFIG2[0] );
nbiot_cmdSingle( &AT_NBAND[0] );
nbiot_cmdSingle( &AT_CGDCONT1[0] );
nbiot_cmdSingle( &AT_CEREG[0] );
nbiot_cmdSingle( &AT_COPS[0] );
nbiot_cmdSingle( &AT_NSOCR[0] );
nbiot_cmdSingle( &AT_NSOST[0] );
nbiot_cmdSingle( &AT_NSOCL[0] );
Additional Functions :
All additional functions such as timer initialization and default handler.
Notes :
Other mikroE Libraries used in the example:
String
Conversion
Additional notes and information
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or 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.