Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Source code for the zigbee sensor monitor GUI (cc2530)

Other Parts Discussed in Thread: CC2530

Hi,

 

Any one knows where to find the source code for the sensor monitor tool that is provided with the cc2530 eval kit?

I know where to find the code for the eZ430-RF2500-SEH Demo and Source Code (Rev. A) at http://www.ti.com/litv/zip/slac219a. It is not the same GUI.

My goal is to tweak the one for cc2530 so that it can display other info (other tan temp as currently the case), such as power, current etc.

 

Thanks for any comments!

Mudhafar

  • Hi Mudhafar,

    I'll search around and see if I can find the source code for you... I'll get back to you and post it here.

  • Hi,

    I am also very interested in this. Is there any update on this request?

    Thanks,

    Yiliang

  • Hello,

    Can someone please post the source code for the Zigbee Sensor Monitor 1.2.0 Demo for the CC253x platform?

    Thanks!

     

  • Sorry for the delay, but finally here it is! See the zip attachment to this post.

    This is the source code for the latest version of ZigBee Sensor Monitor, v1.2.1. The application is built on Qt software framework from Nokia, and it's licensed under GPLv2.

    The difference between ZigBee Sensor Monitor v1.2.0 (which is currently on the web, on the CC2530ZDK page -- but it will be updated soon) and this version v1.2.1 is that a small new feature has been added: every time a node is connected/disconnected to the sink node, you will get a beep. This can be useful if e.g. testing range or walking away from your computer screen with any of the nodes. I hope that 's okay, Randy?

    It has been suggested by the developers to do a future update of the application: to upgrade to a newer version of Qt (e.g. using the LGPL version instead of GPL) and distribute the application code under a permissive *BSD license. But I don't know how soon this will be arranged. Anyway, now the source code is here.

    source_zigbee_sensor_monitor_v1_2_1.zip
  • Hello,

    Can you comment on what source code changes are required (in either the Sensor Monitor PC demo, the Sensor Monitor firmware, or both) so that each node can display the voltage in addition to the temperature?

    Thanks!

    -Randy

     

  • The existing firmware does present voltage info on to the serial IF to the PC, so what needs is to modify the Sensor Monitor GUI so that bubble representing each not shows the voltage along with the temperature. Actually in general it may be useful to indicate where to make the modifications so that in the future we can do our own modification if more info (such as adding the current) is deemed to be attached to these bubbles.

  • To esy,

    I followed steps given in PDF file.

    But Visual Studio can not build this project because of following error.

    Please help me out to clean error.

    1>------ Build started: Project: zsensormonitor, Configuration: Debug Win32 ------
    1>Compiling...
    1>comport.cpp
    1>.\comport.cpp(178) : error C2664: 'strlen' : cannot convert parameter 1 from 'TCHAR [256]' to 'const char *'
    1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>.\comport.cpp(181) : error C2664: '_strnicmp' : cannot convert parameter 1 from 'TCHAR [256]' to 'const char *'
    1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>.\comport.cpp(413) : error C2664: 'strlen' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *'
    1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>Build log was saved at "file://c:\Qt\4.4.3\examples\zigbee\tmp\obj\debug_shared\BuildLog.htm"
    1>zsensormonitor - 3 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     

    Thanks in advance.

  • You should configure visual studio using unicode caracters.

    To do that go to : project properties -> configuration properties -> general -> set caracters  with use unicode caracters

    I hope this will help you

  • Hello, please give help, when I build the project, the erro information as follow (Sorry, the visual studio is Chinese vesion):

    1>------ 已启动全部重新生成: 项目: zsensormonitor, 配置: Release Win32 ------
    1>正在删除项目“zsensormonitor”(配置“Release|Win32”)的中间文件和输出文件
    1>RCC zsensormonitor.qrc
    1>'C:\qt\qt-win-opensource-src-4.4.3\bin\rcc.exe' 不是内部或外部命令,也不是可运行的程序
    1>或批处理文件。
    1>Project : error PRJ0019: 某个工具从以下位置返回了错误代码: "RCC zsensormonitor.qrc"
    1>生成日志保存在“file://d:\Sensor Monitor Source Code\release\BuildLog.htm”
    1>zsensormonitor - 1 个错误,0 个警告
    ========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========

    and i can't find this file : 'C:\qt\qt-win-opensource-src-4.4.3\bin\rcc.exe

     

  • Hi,

    It sounds to me that there migh be some path variables missing or QT is not properly installed.

    There is a readme file (readme_vs2008_qtsource.pdf) in the source package for SensorMonitor that describes how to install QT and set up the Visual Studio environment for using QT.  Did you already follow the instructions in this readme file?

    Regards,

    Bjørn

     

  • Hello,I am a student from BUPT and now I'm doing my graduation project which is about zigbee sensor monitor.Now I have to use your source code to run out the software-version1.2.1.      But now I have a big problem.       The software ran out successfully,but when I test it,the nodes showed in the frame can be moved to any where you want,while the arrows between the nodes won't move with them.        And the official software don't meet the problem.    And I use Qt4.8.4 and VS2008.   Is there a problem with that?  Can you help me with this?            Thank you very much!

  • Is ti possible to get the source for the latest version... 1.3.2? 

    Thanks! 

    Brent