Marc

[Energia Library] ZigBee

6 posts in this topic

I just packaged Anaren's ZigBee interface firmware for their A2530 module into an Energia Library. For those interested check out: https://github.com/mweintra/ZigBee

 

It is compatible with most launchpads (see https://github.com/mweintra/ZigBee/wiki). Basic tutorials and examples are provided, I am still working on the reference documentation.

dubnet, Automate, bluehash and 2 others like this

Share this post


Link to post
Share on other sites

Hmm I have one of those I've never used (got it by a facebook giveaway from TI)! Might have to give this a spin :)

 

Sent from my Galaxy Note II with Tapatalk 4

Share this post


Link to post
Share on other sites

hello Marc !! 

can you help me. I need to start up comunication with 2 nodes Zigbee (A2530) with ENERGIA, but I can't .

some example for this please !! 

Share this post


Link to post
Share on other sites

You have to be more specific about what you already tried and what problems you encountered.

 

The Github repository linked in this thread includes examples. If you don't use the Anaren modules, you will have to look at the schematics and adjust wiring or source code.

 

PS: Posting a question once is sufficient. No need to revive multiple marginally related threads.

Share this post


Link to post
Share on other sites
hey Marc I have tried to use your codes for some zigbee modules, and it gives me these errors:

 

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\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'

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:47:5: error:                 MACAddress::MACAddress(const uint8_t*)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:46:5: error:                 MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\libraries\ZigBee-master\MACAddress.cpp:5:1: error:                 MACAddress::MACAddress()

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\libraries\ZigBee-master\MACAddress.cpp:22:1: error: prototype for 'MACAddress::MACAddress(uint64_t)' does not match any in class 'MACAddress'

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:34:7: error: candidates are: MACAddress::MACAddress(const MACAddress&)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:47:5: error:                 MACAddress::MACAddress(const uint8_t*)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:46:5: error:                 MACAddress::MACAddress(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\libraries\ZigBee-master\MACAddress.cpp:5:1: error:                 MACAddress::MACAddress()

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\libraries\ZigBee-master\MACAddress.cpp:38:13: error: prototype for 'MACAddress& MACAddress::operator=(uint64_t)' does not match any in class 'MACAddress'

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\cores\msp430/MACAddress.h:34:7: error: candidates are: MACAddress& MACAddress::operator=(const MACAddress&)

E:\TFG\energia-0101E0017-windows\energia-0101E0017\hardware\msp430\libraries\ZigBee-master\MACAddress.cpp:32:13: error:                 MACAddress& MACAddress::operator=(const uint8_t*)

Share this post


Link to post
Share on other sites

Okay, I have something, but I would like to know if these data are correct, because 18 degrees seem exaggerated to me in a room where the maximum is 13 degrees. The voltage does not know if it is good or not.

another question. How could you measure the temperature with the TMP006 of the CC2530 module and send it to the coordinator?

 

 

for more information: please see https://github.com/mweintra/ZigBee/issues/1.  I have put my doubts there, but mweintra told me  to put them in this forum.

 

 

https://cloud.githubusercontent.com/assets/23233776/22747556/a8087518-ee27-11e6-9fe7-a0444c27c408.png

 

 

 any help please  :) 

med. 

Sensor_End_Device.rar

Gateway_Coordinator.rar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now