Commit graph

76 commits

Author SHA1 Message Date
oliverschmidt 8b319eef83 Updated/improved documentation. 2006-10-14 23:48:51 +00:00
oliverschmidt ca05ae80a5 Added automatic detection of Ethernet address - this makes the WinPcap packet driver service kind of working :-)
First the WinPcap library is used to enumerate the existing interfaces to make sure that only those are taken into account which the WinPcap library is able to actually work with. Their IP addresses are compaired against the one on the cmdline to find the desired interface.

Then the IP Helper API is used to enumerate the existing adapters to find out the the Ethernet address of the desired adapter. This Ethernet address is then used by Contiki too.
2006-10-06 22:39:31 +00:00
oliverschmidt 50fda17c3e Moved error_exit() to the Win32 Contiki Core. 2006-10-03 11:27:51 +00:00
oliverschmidt 58be00541d Added the CCIF (Contiki Core InterFace) declarations necessary for fatal error display on Win32. 2006-10-03 00:30:42 +00:00
oliverschmidt d62f9608dc Improved error handling. 2006-10-03 00:28:36 +00:00
adamdunkels a043ca000b Short description added 2006-10-02 22:06:14 +00:00
adamdunkels 8c080b3677 Brief instructions for getting started with Contiki for Windows 2006-10-02 20:08:40 +00:00
oliverschmidt 328071ff10 Added network support to the Win32 platform.
Network I/O is done using the usual suspect - which is WinPcap. There's no need for the WinPcap Developer's Pack! An ordinary WinPcap install - as it is i.e. part of Ethereal - is sufficient.

The code is still under development. But as I recently successfully opened HTML pages with the Contiki web browser I thought it might be the right time for an initial commit.
2006-09-23 20:25:02 +00:00
oliverschmidt f601f3a0ac Added the CCIF (Contiki Core InterFace) declarations necessary for logging from loadable code on Win32. 2006-09-23 20:12:40 +00:00
oliverschmidt 253dcb44ce Replaced Win32 ctrl-c handler with C-library atexit handler (taking care of ctrl-c too) now that we have a Contiki Quit menu calling exit(). 2006-09-09 23:20:39 +00:00
oliverschmidt e3dab56825 Do a consistent non-UNICODE build. 2006-09-09 23:13:09 +00:00
oliverschmidt 162ca26b65 Activated quit menu option. 2006-08-30 22:41:52 +00:00
oliverschmidt 301c1f45cf Move the strcasecmp macro out of the diretory app context now that it is used in the shell app too. 2006-08-30 22:07:53 +00:00
oliverschmidt 67d7c515a4 Added missing header files to VC++ project file. 2006-08-26 23:50:45 +00:00
oliverschmidt a72fdc7208 Fixed discrepancy between makefile and VC++ project file. 2006-08-26 23:43:03 +00:00
oliverschmidt c32390ab76 Added VC++ 2005 solution file (.sln) and project files (.vcproj).
Please note that the VC++ 2005 Express Edition combined with the Platform SDK - which are both free downloads - are sufficient to build, run and debug Contiki on Win32.
2006-08-21 22:37:16 +00:00
oliverschmidt 3de5f38218 Avoid temporary console window scroll on redraw due to writing to lower right screen cell. 2006-08-21 22:27:10 +00:00
oliverschmidt 155b37491c Some object files made from *_dsc.c files get linked both into the Contiki core (for desktop icons) as well as into *.dsc files. So make sure that the *_dsc symbol gets exported regardless in which context the object files are made. 2006-08-16 22:47:01 +00:00
oliverschmidt 62fa3b8c01 Changed the Contiki Interface declaration macros from CCI/CLI to CCIF/CLIF because of already existing macros: Both CCI and CLI :-( 2006-08-15 14:46:33 +00:00
oliverschmidt ad7bbcdf17 Now that they assumed a shape ... 2006-08-14 23:53:55 +00:00
oliverschmidt 15154b071e The *-arch.h files seem to be out of style in Contiki 2.x so removed the only Win32 one - most of the content will show up in the (one and only) Win32 conf header. 2006-08-14 23:50:51 +00:00
oliverschmidt 56b07d90a6 Improved code clarity by moving the API macros definitions to the support function declarations. 2006-08-14 23:46:43 +00:00
oliverschmidt bace5b3481 Removed obsolete header include. 2006-08-14 23:42:33 +00:00
oliverschmidt 96d97031d6 Added a Win32 dll loader for loading/unloading *.prg and *.dsc files. It requires at least WinXP as it uses GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS flag for unloading. The "self-unloading" via LOADER_UNLOAD() is implemented by defering the actual unload until back in the main loop using a user-mode APC (Asynchronous Procedure Call). 2006-08-13 16:49:43 +00:00
oliverschmidt f0e9388fed Added a Win32 Console Program based CTK (Contiki Tool Kit) conio low level library. Beside the core/lib/libconio.h interface it implements the CTK mouse interface. 2006-08-13 16:36:01 +00:00
oliverschmidt 92c982f829 Added a Win32 CFS (Contiki File System) service. The opendir() parameter "/" is mapped to the directory containing contiki.exe. That allows easy access to *.prg and *.dsc files which are supposed to reside in the same directory. 2006-08-13 16:23:10 +00:00