Skip to content

bug - not join when parameter is String #26

Closed
@tcpipchip

Description

@tcpipchip

The bug

do you why JOIN always fail to

String setAppEuiString;
String setAppKeyString;
String setDevEuiString;

  setAppEuiString="0000000000000099";
  setAppKeyString="FF9F138B40180AA45D6846E0A0146954";
  setDevEuiString="XX80E115051XX80A";
  modem.setAppEui(setAppEuiString); //@
  modem.setAppKey(setAppKeyString); //#
  modem.setDevEui(setDevEuiString); //$

and always work to

  modem.setAppEui("0000000000000099"); //@
  modem.setAppKey("FF9F138B40180AA45D6846E0A0146954"); //#
  modem.setDevEui("0080E115051FD80A"); //$

looks that is a problem here

bool setAppEui(String value) { return setDevEui(value.c_str()); }

Should be

bool setAppEui(String value) { return setAppEui(value.c_str()); }

on STM32LoRaWAN.h

After changed its working now, i can JOIN

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions