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.

IP over uart

Hopefully this isn't off topic. My scenario is as follows:

a computer connected via a serial connection to a cc430.

The cc430 is connected to a network of other cc430 nodes (all running IP stacks) over RF.

What I'm trying to acomplish in the first place is that when I "ping" (regular icmp) from the computer
this is sent over the serial connection to the cc430 connected to it which then forwards the messages over  RF
to all the other nodes of which the proper one replies to the ping after which the message is retuned in the
opposite direction.

My question is how to get the "ping" message transmitted over the serial connection without establishing a "dedicated"
connection to one host as this is meant to the whole network? Using a ethernet connection is not an option in this case.

Thank you

Best regards

Richard Salin

  • Richard,

    You need to be more specific in order for us to help you out here.

    - Do you have communication up and running on the serial line?

    - What kind of protocol are you using on the RF side on the CC430?

    - Does your RF protocol support broadcast?

    BR,

    Jonas

  • Hello

    And sorry for not clarifying well enough. I actually managed to solve this issue. Basically it was about me havin a IP stack running on the cc430 communicating using brocasts over the radio using IP. The problem was that to make this fully IP compatible the MAC layer was also implemented and I needed a serial link between the cc430 and a PC.

    The solution turned out to be SLIP. I wrote some compatible drivers but my biggest concern was that SLIP is a point to point protocol and thereby does not implement the MAC layer but instead relies that a certain host is on the other end of the link. Turned out that it still routes all the traffic on the same subnet to the host which enables me to construct a seperate layer that added the MAC layer and handled the routing.

    Richard Salin

  • Hi,

    Ok, good you solved it!

    Another solution that you might be interested in is 6LoWPAN. 

    You can find some information on TI's third party Sensinode's page here. TI is soon to release a development kit based on TI hardware and Sensinode software for the 868/915 MHz band, utilizing CC430 or the network processor CC1180.

    //Jonas