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.

Access point communicating between another access point

Other Parts Discussed in Thread: SIMPLICITI, Z-STACK, CC2530, CC2480A1, CC2538

Hello,

I am working with the ez430-rf2500 development kit and I am trying to make a network that can have multiple access points communicating with each other. I am using the back bone of the Wireless Sensor network demo code from TI. First, I initialize the network by telling the stack that I am an AP with the method below:

SMPL_Init(sCB);

So far I create a address for my device and push it onto the network stack with the method below:

  SMPL_Ioctl(IOCTL_OBJ_ADDR, IOCTL_ACT_SET, &lAddr);

If I interpret this correctly, it will alert any AP(excluding itself) in the area that I am trying to connect with them. Then to do a sanity check and power saving mode I check to see if they are paired devices by:

while(1)

{

if(sNumCurrentPeers==0)
      {
        //go to sleep
        SMPL_Ioctl(IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_SLEEP, 0);
        __bis_SR_register(LPM3_bits+GIE);
        SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_AWAKE, 0);
      }

else

{

break;

}

}

However, I am never able to get any peers with this method. Does anyone have any suggestions on what I am doing wrong?

  • Hi Isaac,

    I have moved this to the SimpliciTI forum, as it looks like this is a question about using the SimpliciTI software rather than one about MSP430. Hopefully someone there will be better able to give you advice.

    Regards,

    Katie

  • Okay,

    Thanks for the moving me to the right forum!

  • Isaac,

    Isaac Puckett said:

    First, I initialize the network by telling the stack that I am an AP with the method below:

    SMPL_Init(sCB);

    Defining a node as Access Point (AP) can be done only at compile time, by defining ACCESS_POINT symbol in you smpl_config.dat file.

    Isaac Puckett said:

    So far I create a address for my device and push it onto the network stack with the method below:

      SMPL_Ioctl(IOCTL_OBJ_ADDR, IOCTL_ACT_SET, &lAddr);

    Yes, this is an alternative to override the device address configuration (THIS_DEVICE_ADDRESS symbol) in your smpl_config.dat

    Isaac Puckett said:

    If I interpret this correctly, it will alert any AP(excluding itself) in the area that I am trying to connect with them. Then to do a sanity check and power saving mode I check to see if they are paired devices by:

    while(1)

    {

    if(sNumCurrentPeers==0)
          {
            //go to sleep
            SMPL_Ioctl(IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_SLEEP, 0);
            __bis_SR_register(LPM3_bits+GIE);
            SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_AWAKE, 0);
          }

    else

    {

    break;

    }

    }

    However, I am never able to get any peers with this method. Does anyone have any suggestions on what I am doing wrong?

    The ED and the AP needs to be first joined and then linked. For this, i would suggest to refer to the "AP_as_Data_Hub" software examples which can be found for every device platform in the software package.

  • Thanks for your help. I realized that the simplicity protocol does not allow an AP to also be and ED to create a pseudo mesh network. I am now looking at the ez430-rf2480 development kit to allow me to create something like this with the zigbee protocol. 

  • Isaac,

    ez430-RF2480 is obsolete, I would strongly suggest you to instead look for other zigbee kit which is still active and supported by the Z-Stack, like the CC2530DK, CC2538DK, etc.

    More information: http://www.ti.com/lsds/ti/wireless_connectivity/zigbee/tools_software.page

  • I wasn't aware of how dated it was. I was only looking at it because it is very similar to the ez430-RF2500 that I am currently using. Is there a newer development kit that can support mesh networking?

  • Isaac,

    all the kits which you can find at my link above are supported by Z-Stack: www.ti.com/tool/z-stack which is the implementation of ZigBee with mesh network.

  • I see,  I was attracted to the Ez430-RF2480 because they all appeared to be the same chip but only one was on a dongle. I am confused on what the SmartRF05EB does exactly. Is it an interface to the dongles from the PC?

  • Hi Isaac,

    the eZ430-RF2480 is using the obsolete CC2480A1. Depending on your application, you can choose between CC2530 or CC2538 for implementing ZigBee Mesh Network using the Z-Stack.

    The SmartRF05EB is like the base board for the CCxxxxEMK daughter boards. Most of the CC25xxEMK can be plugged in to the SmartRF05EB as it acts as the hardware debugger/programmer interface to these EMK boards.