Moti,
Try programming MyWirelessApp example 5a and b, or 6a and b into 2 boards.
The MyStarNetworkDemo also does the same thing.
Note if you are using low power mode, then try to disconnect the debugger.
Both application set does what you request.
BR,
Mads