You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from sketch\gBase64 (2).cpp:1:0:
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:34:12: error: 'String' does not name a type
static String encode(const uint8_t * data, size_t length, bool doNewLines = true);
^
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:35:12: error: 'String' does not name a type
static String inline encode(const String& text, bool doNewLines = true)
^
In file included from sketch\gBase64.cpp:1:0:
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:34:12: error: 'String' does not name a type
static String encode(const uint8_t * data, size_t length, bool doNewLines = true);
^
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:35:12: error: 'String' does not name a type
static String inline encode(const String& text, bool doNewLines = true)
^
E:\TEJA\LoRa\Gateway\ESP-1ch-Gateway-v5.0--OLD-master\ESP-sc-gway_txRx.ino: In function 'int sendPacket(uint8_t*, uint8_t)':
_txRx:135:65: error: 'base64_dec_len' was not declared in this scope
LoraDown.payLength = base64_dec_len((char *) data, strlen(data));// Length of the Payload data
^
_txRx:136:61: error: 'base64_decode' was not declared in this scope
base64_decode((char *) payLoad, (char ) data, strlen(data)); // Fill payload w decoded message
^
E:\TEJA\LoRa\Gateway\ESP-1ch-Gateway-v5.0--OLD-master\ESP-sc-gway_txRx.ino: In function 'int buildPacket(uint32_t, uint8_t, LoraUp, bool)':
_txRx:443:47: error: 'base64_enc_len' was not declared in this scope
int encodedLen = base64_enc_len(messageLength); // max 341
^
_txRx:452:52: error: 'base64_encode' was not declared in this scope
base64_encode(b64, (char *) message, messageLength);// max 341
^
Multiple libraries were found for "WiFiUdp.h"
Used: C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\libraries\ESP8266WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Multiple libraries were found for "SH1106.h"
Used: C:\Users\Galih Teja\Documents\Arduino\libraries\esp8266-oled-ssd1306-master
Not used: C:\Users\Galih Teja\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays
exit status 1
'base64_dec_len' was not declared in this scope
The text was updated successfully, but these errors were encountered:
galihteja
changed the title
anyone can help me with this issue?
encode decode issue
Jul 11, 2020
In file included from sketch\gBase64 (2).cpp:1:0:
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:34:12: error: 'String' does not name a type
static String encode(const uint8_t * data, size_t length, bool doNewLines = true);
^
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:35:12: error: 'String' does not name a type
static String inline encode(const String& text, bool doNewLines = true)
^
In file included from sketch\gBase64.cpp:1:0:
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:34:12: error: 'String' does not name a type
static String encode(const uint8_t * data, size_t length, bool doNewLines = true);
^
C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\cores\esp8266/Base64.h:35:12: error: 'String' does not name a type
static String inline encode(const String& text, bool doNewLines = true)
^
E:\TEJA\LoRa\Gateway\ESP-1ch-Gateway-v5.0--OLD-master\ESP-sc-gway_txRx.ino: In function 'int sendPacket(uint8_t*, uint8_t)':
_txRx:135:65: error: 'base64_dec_len' was not declared in this scope
LoraDown.payLength = base64_dec_len((char *) data, strlen(data));// Length of the Payload data
^
_txRx:136:61: error: 'base64_decode' was not declared in this scope
base64_decode((char *) payLoad, (char ) data, strlen(data)); // Fill payload w decoded message
^
E:\TEJA\LoRa\Gateway\ESP-1ch-Gateway-v5.0--OLD-master\ESP-sc-gway_txRx.ino: In function 'int buildPacket(uint32_t, uint8_t, LoraUp, bool)':
_txRx:443:47: error: 'base64_enc_len' was not declared in this scope
int encodedLen = base64_enc_len(messageLength); // max 341
^
_txRx:452:52: error: 'base64_encode' was not declared in this scope
base64_encode(b64, (char *) message, messageLength);// max 341
^
Multiple libraries were found for "WiFiUdp.h"
Used: C:\Users\Galih Teja\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\libraries\ESP8266WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Multiple libraries were found for "SH1106.h"
Used: C:\Users\Galih Teja\Documents\Arduino\libraries\esp8266-oled-ssd1306-master
Not used: C:\Users\Galih Teja\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays
exit status 1
'base64_dec_len' was not declared in this scope
The text was updated successfully, but these errors were encountered: