Hello, I’m trying to connect Wio Terminal to Helium Console through Grove Wio-E5 LoRa module. I followed the steps in the Seeed Studio’s wiki page about connecting to Helium: https://wiki.seeedstudio.com/Connecting-to-Helium/
However, when I tried to upload the code provided there in Arduino IDE, I got this error message: “invalid conversion from ‘char*’ to ‘uint8_t* {aka unsigned char*}’ [-fpermissive]”
Is there any reason and solution to this problem? I did fully copy-paste the example code from that page (only replaced the frequency, deveui, appeui, and appkey), yet still getting error.
Thank you, and here is the code that I used to upload:
#include <Arduino.h>
#include "disk91_LoRaE5.h"
Disk91_LoRaE5 lorae5(&Serial); // Where the AT command and debut traces are printed
#define Frequency DSKLORAE5_ZONE_AS923_2
/*
Select your frequency band here.
DSKLORAE5_ZONE_EU868
DSKLORAE5_ZONE_US915
DSKLORAE5_ZONE_AS923_1
DSKLORAE5_ZONE_AS923_2
DSKLORAE5_ZONE_AS923_3
DSKLORAE5_ZONE_AS923_4
DSKLORAE5_ZONE_KR920
DSKLORAE5_ZONE_IN865
DSKLORAE5_ZONE_AU915
*/
char deveui[] = "************************";
char appeui[] = "************************";
char appkey[] = "****************************************";
void setup() {
Serial.begin(9600);
uint32_t start = millis();
while ( !Serial && (millis() - start) < 1500 ); // Open the Serial Monitor to get started or wait for 1.5"
// init the library, search the LORAE5 over the different WIO port available
if ( ! lorae5.begin(DSKLORAE5_SEARCH_WIO) ) {
Serial.println("LoRa E5 Init Failed");
while(1);
}
// Setup the LoRaWan Credentials
if ( ! lorae5.setup(
Frequency, // LoRaWan Radio Zone EU868 here
deveui,
appeui,
appkey
) ){
Serial.println("LoRa E5 Setup Failed");
while(1);
}
}
void loop() {
}