mweintra / AIR2530

0 stars 0 forks source link

Issue trying to compile sample on energia? #1

Open gomond opened 8 years ago

gomond commented 8 years ago

When I try to compile in Energia I get the following errors.

/Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:10:1: error: prototype for 'MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet,uint8_t fifth_octet, uint8_t sixth_octet, uint8_t seventh_octet, uint8_t eigth_octet) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:47:5: error: MACAddress::MACAddress(const uint8t) MACAddress(const uint8_t address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:22:1: error: prototype for 'MACAddress::MACAddress(uint64_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:47:5: error: MACAddress::MACAddress(const uint8t) MACAddress(const uint8_t _address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:38:13: error: prototype for 'MACAddress& MACAddress::operator=(uint64_t)' does not match any in class 'MACAddress' MACAddress& MACAddress::operator=(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:3:0: /Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddress.h:34:7: error: candidates are: MACAddress& MACAddress::operator=(const MACAddress&) class MACAddress : public Printable { ^ /Documents/Energia/libraries/ZigBee-master/MACAddress.cpp:32:13: error: MACAddress& MACAddress::operator=(const uint8t) MACAddress& MACAddress::operator=(const uint8_t address) ^

mweintra commented 8 years ago

What version of Energia are you using, and for which board?

On Sun, Feb 7, 2016 at 2:52 AM, gomond notifications@github.com wrote:

When I try to compile in Energia I get the following errors

/Documents/Energia/libraries/ZigBee-master/MACAddresscpp:10:1: error: prototype for 'MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet,uint8_t fifth_octet, uint8_t sixth_octet, uint8_t seventh_octet, uint8_t eigth_octet) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:47:5: error: MACAddress::MACAddress(const uint8_t

_) MACAddress(const uint8_t *address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:22:1: error: prototype for 'MACAddress::MACAddress(uint64_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:47:5: error: MACAddress::MACAddress(const uint8t) MACAddress(const uint8_t

_address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:38:13: error: prototype for 'MACAddress& MACAddress::operator=(uint64_t)' does not match any in class 'MACAddress' MACAddress& MACAddress::operator=(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress& MACAddress::operator=(const MACAddress&) class MACAddress : public Printable { ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:32:13: error: MACAddress& MACAddress::operator=(const uint8t) MACAddress& MACAddress::operator=(const uint8_t *address) ^

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1.

gomond commented 8 years ago

Hi

I am using the latest Energia downloaded last night and a Tiva Launchpad, connected launchpad and an MSP430 board . As I just wanted to try it out.

Is the TI ZNP/MT the same as the anaren one?

If I load the CC2350 ZNP Firmware onto a TI CC2350 Module will it work with your adaptation of Anaren ZNP?

Thanks Heaps

Greg.

On 8 Feb 2016, at 2:30 am, mweintra notifications@github.com wrote:

What version of Energia are you using, and for which board?

On Sun, Feb 7, 2016 at 2:52 AM, gomond notifications@github.com wrote:

When I try to compile in Energia I get the following errors

/Documents/Energia/libraries/ZigBee-master/MACAddresscpp:10:1: error: prototype for 'MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet,uint8_t fifth_octet, uint8_t sixth_octet, uint8_t seventh_octet, uint8_t eighth_octet) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:47:5: error: MACAddress::MACAddress(const uint8_t

_) MACAddress(const uint8_t *address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:22:1: error: prototype for 'MACAddress::MACAddress(uint64_t)' does not match any in class 'MACAddress' MACAddress::MACAddress(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&) class MACAddress : public Printable { ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:47:5: error: MACAddress::MACAddress(const uint8t) MACAddress(const uint8_t

_address); ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:46:5: error: MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) MACAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet, uint8_t fifth_octet, uint8_t sixth_octet); ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:5:1: error: MACAddress::MACAddress() MACAddress::MACAddress() ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:38:13: error: prototype for 'MACAddress& MACAddress::operator=(uint64_t)' does not match any in class 'MACAddress' MACAddress& MACAddress::operator=(uint64_t address) ^ In file included from /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:3:0: /Applications/Energiaapp/Contents/Resources/Java/hardware/lm4f/cores/lm4f/MACAddressh:34:7: error: candidates are: MACAddress& MACAddress::operator=(const MACAddress&) class MACAddress : public Printable { ^ /Documents/Energia/libraries/ZigBee-master/MACAddresscpp:32:13: error: MACAddress& MACAddress::operator=(const uint8t) MACAddress& MACAddress::operator=(const uint8_t *address) ^

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1.

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181032852.

gomond commented 8 years ago

Is it possible that i have somehow installed your project incorrectly?

As I have issues with AIR2530 and the ZigBee project. I apologise as I am new to Energia/Arduino.

please see below..

/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++ -c -Os -Wall -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=120000000L -MMD -DARDUINO=101 -DENERGIA=17 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI -I/Users/gomond/Documents/Energia/libraries/ZigBee-master /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp -o /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o [/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -Wall, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=120000000L, -MMD, -DARDUINO=101, -DENERGIA=17, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI, -I/Users/gomond/Documents/Energia/libraries/ZigBee-master, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp, -o, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o] ZigBee_Sensor.cpp: In function 'void setup()': ZigBee_Sensor.cpp:9:10: error: 'class ZigBeeClass' has no member named 'setRegion'

line 5

      ^

ZigBee_Sensor.cpp:9:20: error: 'NORTH_AMERICA' was not declared in this scope

line 5

                ^

ZigBee_Sensor.cpp:10:10: error: 'class ZigBeeClass' has no member named 'setSecurityMode' void setup() ^ ZigBee_Sensor.cpp:11:10: error: 'class ZigBeeClass' has no member named 'setSecurityKeys' { ^ ZigBee_Sensor.cpp:12:10: error: 'class ZigBeeClass' has no member named 'setPollRate' Serial.begin(115200); ^ ZigBee_Sensor.cpp:13:26: error: no matching function for call to 'ZigBeeClass::start(int)' ZigBee.begin(); ^ ZigBee_Sensor.cpp:13:26: note: candidate is: In file included from ZigBee_Sensor.cpp:3:0: /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: int ZigBeeClass::start() int start(); ^ /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: candidate expects 0 arguments, 1 provided ZigBee_Sensor.cpp: In function 'void loop()': ZigBee_Sensor.cpp:22:14: error: 'class ZigBeeClass' has no member named 'addValue'

          ^
mweintra commented 8 years ago

Do you have the header ZBooster.h? if so can you try deleting that?

Did you try opening any of the examples, such as the one in the basic tutorial?

On Mon, Feb 8, 2016 at 7:27 PM, gomond notifications@github.com wrote:

Is it possible that i have somehow installed your project incorrectly?

As I have issues with AIR2530 and the ZigBee project. I apologise as I am new to Energia/Arduino.

please see below..

/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++ -c -Os -Wall -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=120000000L -MMD -DARDUINO=101 -DENERGIA=17 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI -I/Users/gomond/Documents/Energia/libraries/ZigBee-master /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp -o /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o

[/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -Wall, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=120000000L, -MMD, -DARDUINO=101, -DENERGIA=17, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI, -I/Users/gomond/Documents/Energia/libraries/ZigBee-master, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp, -o, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o] ZigBee_Sensor.cpp: In function 'void setup()': ZigBee_Sensor.cpp:9:10: error: 'class ZigBeeClass' has no member named 'setRegion'

line 5

^ ZigBee_Sensor.cpp:9:20: error: 'NORTH_AMERICA' was not declared in this scope

line 5

^ ZigBee_Sensor.cpp:10:10: error: 'class ZigBeeClass' has no member named 'setSecurityMode' void setup() ^ ZigBee_Sensor.cpp:11:10: error: 'class ZigBeeClass' has no member named 'setSecurityKeys' { ^ ZigBee_Sensor.cpp:12:10: error: 'class ZigBeeClass' has no member named 'setPollRate' Serial.begin(115200); ^ ZigBee_Sensor.cpp:13:26: error: no matching function for call to 'ZigBeeClass::start(int)' ZigBee.begin(); ^ ZigBee_Sensor.cpp:13:26: note: candidate is: In file included from ZigBee_Sensor.cpp:3:0: /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: int ZigBeeClass::start() int start(); ^ /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: candidate expects 0 arguments, 1 provided ZigBee_Sensor.cpp: In function 'void loop()': ZigBee_Sensor.cpp:22:14: error: 'class ZigBeeClass' has no member named 'addValue'

^

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181638719.

gomond commented 8 years ago

Tried the tutorials as well.

Bit confused but I’l work it out….

On 9 Feb 2016, at 11:36 am, mweintra notifications@github.com wrote:

Do you have the header ZBooster.h? if so can you try deleting that?

Did you try opening any of the examples, such as the one in the basic tutorial?

On Mon, Feb 8, 2016 at 7:27 PM, gomond notifications@github.com wrote:

Is it possible that i have somehow installed your project incorrectly?

As I have issues with AIR2530 and the ZigBee project. I apologise as I am new to Energia/Arduino.

please see below..

/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++ -c -Os -Wall -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=120000000L -MMD -DARDUINO=101 -DENERGIA=17 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI -I/Users/gomond/Documents/Energia/libraries/ZigBee-master /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp -o /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o

[/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -Wall, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=120000000L, -MMD, -DARDUINO=101, -DENERGIA=17, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI, -I/Users/gomond/Documents/Energia/libraries/ZigBee-master, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp, -o, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o] ZigBee_Sensor.cpp: In function 'void setup()': ZigBee_Sensor.cpp:9:10: error: 'class ZigBeeClass' has no member named 'setRegion'

line 5

^ ZigBee_Sensor.cpp:9:20: error: 'NORTH_AMERICA' was not declared in this scope

line 5

^ ZigBee_Sensor.cpp:10:10: error: 'class ZigBeeClass' has no member named 'setSecurityMode' void setup() ^ ZigBee_Sensor.cpp:11:10: error: 'class ZigBeeClass' has no member named 'setSecurityKeys' { ^ ZigBee_Sensor.cpp:12:10: error: 'class ZigBeeClass' has no member named 'setPollRate' Serial.begin(115200); ^ ZigBee_Sensor.cpp:13:26: error: no matching function for call to 'ZigBeeClass::start(int)' ZigBee.begin(); ^ ZigBee_Sensor.cpp:13:26: note: candidate is: In file included from ZigBee_Sensor.cpp:3:0: /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: int ZigBeeClass::start() int start(); ^ /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: candidate expects 0 arguments, 1 provided ZigBee_Sensor.cpp: In function 'void loop()': ZigBee_Sensor.cpp:22:14: error: 'class ZigBeeClass' has no member named 'addValue'

^

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181638719.

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181642427.

gomond commented 8 years ago

When I run the tutorials I get the Mac address errors. When I run the ones in the AIR2530 I get the missing member errors.

like ^ ZigBee_Coordinator.cpp:24:27: error: 'class ZigBeeClass' has no member named 'getValue' {

On 9 Feb 2016, at 11:36 am, mweintra notifications@github.com wrote:

Do you have the header ZBooster.h? if so can you try deleting that?

Did you try opening any of the examples, such as the one in the basic tutorial?

On Mon, Feb 8, 2016 at 7:27 PM, gomond notifications@github.com wrote:

Is it possible that i have somehow installed your project incorrectly?

As I have issues with AIR2530 and the ZigBee project. I apologise as I am new to Energia/Arduino.

please see below..

/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++ -c -Os -Wall -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=120000000L -MMD -DARDUINO=101 -DENERGIA=17 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129 -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI -I/Users/gomond/Documents/Energia/libraries/ZigBee-master /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp -o /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o

[/Applications/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -Wall, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=120000000L, -MMD, -DARDUINO=101, -DENERGIA=17, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/launchpad_129, -I/Applications/Energia.app/Contents/Resources/Java/hardware/lm4f/libraries/SPI, -I/Users/gomond/Documents/Energia/libraries/ZigBee-master, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp, -o, /var/folders/ss/ht99vhzs2qx511h0zcfsl1hw0000gn/T/build7707817343034811159.tmp/ZigBee_Sensor.cpp.o] ZigBee_Sensor.cpp: In function 'void setup()': ZigBee_Sensor.cpp:9:10: error: 'class ZigBeeClass' has no member named 'setRegion'

line 5

^ ZigBee_Sensor.cpp:9:20: error: 'NORTH_AMERICA' was not declared in this scope

line 5

^ ZigBee_Sensor.cpp:10:10: error: 'class ZigBeeClass' has no member named 'setSecurityMode' void setup() ^ ZigBee_Sensor.cpp:11:10: error: 'class ZigBeeClass' has no member named 'setSecurityKeys' { ^ ZigBee_Sensor.cpp:12:10: error: 'class ZigBeeClass' has no member named 'setPollRate' Serial.begin(115200); ^ ZigBee_Sensor.cpp:13:26: error: no matching function for call to 'ZigBeeClass::start(int)' ZigBee.begin(); ^ ZigBee_Sensor.cpp:13:26: note: candidate is: In file included from ZigBee_Sensor.cpp:3:0: /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: int ZigBeeClass::start() int start(); ^ /Users/gomond/Documents/Energia/libraries/ZigBee-master/ZigBee.h:130:6: note: candidate expects 0 arguments, 1 provided ZigBee_Sensor.cpp: In function 'void loop()': ZigBee_Sensor.cpp:22:14: error: 'class ZigBeeClass' has no member named 'addValue'

^

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181638719.

— Reply to this email directly or view it on GitHub https://github.com/mweintra/AIR2530/issues/1#issuecomment-181642427.

medsimo commented 7 years ago

hello all !! i have same errors (MACAddress errors) for MSP430FR6989 LP and TIVA C ... I'm using Energia v17.

help please.

medsimo commented 7 years ago

errors that i have ... see below !!

ZigBee_Coordinator.cpp: In function 'void setup()': ZigBee_Coordinator.cpp:12:10: error: 'class ZigBeeClass' has no member named 'setSecurityMode' void setup() ^ ZigBee_Coordinator.cpp:13:10: error: 'class ZigBeeClass' has no member named 'setSecurityKeys' { ^ ZigBee_Coordinator.cpp:14:27: error: no matching function for call to 'ZigBeeClass::start(int)' Serial.begin(115200); ^ ZigBee_Coordinator.cpp:14:27: note: candidate is: In file included from ZigBee_Coordinator.cpp:3:0: E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\lm4f\libraries\ZigBee-master/ZigBee.h:130:6: note: int ZigBeeClass::start() int start(); ^ E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\lm4f\libraries\ZigBee-master/ZigBee.h:130:6: note: candidate expects 0 arguments, 1 provided ZigBee_Coordinator.cpp:15:10: error: 'class ZigBeeClass' has no member named 'setTime' ZigBee.begin(); ^ ZigBee_Coordinator.cpp: In function 'void loop()': ZigBee_Coordinator.cpp:21:10: error: 'class ZigBeeClass' has no member named 'getTime' } ^ ZigBee_Coordinator.cpp:22:13: error: 'class ZigBeeClass' has no member named 'checkMessage'

         ^

ZigBee_Coordinator.cpp:24:27: error: 'class ZigBeeClass' has no member named 'getValue' {