m-stack a 6loWPAN stack for CC2430/CC2431 with DYMO mesh routing

 

Oprostite, ta stran ni prevedena v Slovenščino.

 

m-Stack, a 6loWPAN stack for CC2430 with DYMO routing support

m-Stack is a 6loWPAN [RFC4944] internet standard compliant low power wireless network stack with DYMO mesh networking support. It's currently available for CC243x System On Chip modules or custom solutions.

Free for noncomercial and evaluation use

A binary release is available for non-comercial and evaluation use. This is great for starting with low power wireless project.

Non-comercial version has following features:

  • Full autoforming mesh support using DYMO protocol.
  • Compiler, IDE, CC Flasher programmer drivers and software included
  • Up to 8 nodes supported ( full version is unlimited )
  • binary only release (free source licences for educational use are also available)
  • Up to 8 nodes supported ( full version is unlimited )
  • Sample application included
  • Easy to start with everying in one package

Download now at https://sourceforge.net/project/showfiles.php?group_id=205346&package_id=323089

Example minimum app

#include <platform.h>

#include <stack.h>

#include <socket.h>

sockaddr_t address_broadcast={ ADDR_SHORT,{0xFF,0xFF},0xF0B0,0xFFFF};

void main()

{

    buffer_t *buff;

    socket_handle_t sh;

    //init stack

    stack_init();

 

    //enable interrupts

    EA=1;

 

    //create a new UDP socket

    sh = socket_open( PACKET_TYPE_UDP );

 

    //bind port to socket ( use port in 0xF0B0-0xF0BF range )

    socket_bind( sh, 0xF0B0 );

 

    while( 1 ){

        //call stack_process() periodically to process packets,

        //this must be called as often as possible

        stack_process();

        //An example of receiving packet

        if( buff = socket_recv(sh) ){

            //... do something with received data

            //dont forget to free the buffer

            buffer_free(buff);

        }

        //Send a packet when key is down

        if( (P1IN & KEY_1) == 0){

            buff = buffer_allocate();

            buff->buff[buff->dataEnd++] = 0x01;//add byte to packet

            socket_sendto(sh,buff,&address_broadcast);

        }

    }

}

6loWPAN, IEEE802.15.4 and ZigBee

m-Stack is based on 6loWPAN which shares a common MAC fundation with ZigBee. IEEE 802.15.4 is a 2.4GHz PHY and MAC layer designed for low power and robustnes. WBXML based web services are also available in the comercial version.

 

 

Supported hardware

All modules based on CC243x SoC are supported. CC2530 release is pending.

To get you started you can order following products:

CC2430 based easy to use module with a standard 2.54mm connector

 

CC2430 and FT232 based USB dongle to access 6loWPAN network from your computer or OpenWRT based wireless router.

 

CC Flasher, a CC243x flash programmer for easyly programming the boards from Windows or Linux.

 

Comercial version with implementation support

We offer a comercial royality free licence with full sources and implementation support. We offer services from hw design to integration of m-Stack based network into your infrastructure.

 


Subject:
EMail:
Message:
 

 

 

Couch Surfer

Brezžična tipkovnica in miška iz N800 ali iPhone za vaš Windows, Linux & Mac.


Login - © Modula 2008 - info@modula.si - +386 (0) 31 392 047