[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/apps/AccessPointWindows/802_15_4_AP/AP_CON AP_CON_beth.cpp, NONE, 1.1

steve ayer ayer1 at users.sourceforge.net
Fri Aug 29 08:25:49 PDT 2008


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/AccessPointWindows/802_15_4_AP/AP_CON
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24047

Added Files:
	AP_CON_beth.cpp 
Log Message:

missed this in the original check-in.


--- NEW FILE: AP_CON_beth.cpp ---
/*
 *  AP_CON - console-mode (command-line) program implemeting
 *           a simple 802.15.4 AP under Win32 (2000, XP, probably Vista)
 *
 *  This program is using/calling TAP-WIN32 GPL driver !!!
 *
 *  This source code is Copyright (C) 2008 Realtime Technologies
 *  and is released under the GPL version 2 (see below)
 *
 *  Portions of the code were inspired from ZATTACH.C and
 *  AccessPointApp (authors Andrew Christian <andrew.christian at hp.com>
 *	and Bor-rong Chen <bor-rong.chen at hp.com> )
 * 
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2
 *  as published by the Free Software Foundation.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
[...1099 lines suppressed...]
		{
		printf("Error in start_com_thread\n");
		return i - 200 ;
		}

	printf("\nPress Control-C or Control-Break to exit\n");

	while(!g_flag_exit)
		{
		Sleep(1000);
		}

	//just in case
	g_flag_exit = true;
	SetEvent(g_he_exit);
	Sleep(1000);
	
	CloseHandle(g_he_exit);
	return 0;
	}



More information about the Tinyos-contrib-commits mailing list