Skip to content

Framework Arduino

Georgi Angelov edited this page Apr 2, 2019 · 41 revisions

Quectel Arduino Framework for PlatformIO

Libraries

Must support standart Arduino libraries as PubSubClient, MQTT-TLS, Adafruit_GFX, Adafruit_SSD1306, ... etc

BC66, BC26 ATTENTION

SEE MORE

INI for BC66

The extended API is dependent on firmware version The API support direct calls to the core as freeRTOS, lvip, mbedtls, http, mqtt etc. API has soft protection of not correct versions...

Curently support BC66NBR01A04V01 and BC66NBR01A05V01

[env:bc66-te-b]
platform = quectel
framework = arduino
board = bc66-te-b

;board_build.fw = BC66NBR01A04V01 ; if is epmty - BC66NBR01A04V01 is default 
;board_build.fw = BC66NBR01A05V01

;upload_port = COM8
;monitor_port = COM8
;monitor_speed = 115200

Example

#include "Arduino.h"

void setup(){
    pinMode(LED_BUILTIN, OUTPUT);
    Serial.begin(115200);
    Serial.println("[SETUP] Quectel");    
}

void loop(){
    static int led = 0;
    digitalWrite(LED_BUILTIN, ++led ^ 1);
    Serial.println("[LOOP]");
    delay(5000);
}
Clone this wiki locally