Programmieren
Some weeks ago I had the idea to combine Matlab and DirectShow, and here's the result ... ... a DirectShow filter that will use Matlab to transform a video stream. The filter will accept the path to a M-File and the Variable Names of the Input and Output Frame. When the DirectShow Filter Graph starts the "Matlab Video Filter" starts the Matlab Command Shell automatically in the background. For each frame the "Matlab Video Filter" load the Input Frame to a Matlab matrix, put the matrix to the Matlab...
Today I have finished my second DirectShow filter, a Transform filter to convert a RGB video stream to Grayscale. The whole Microsoft Visual Studio 2005 project can be downloaded from here
This week I have created my first DirectShow filter, a simple TransInPlace filter that will add a logo to a video stream. The whole Microsoft Visual Studio 2005 project can be downloaded from here
I have written a little MFC application that display some properties about the current association, like the value of the received signal strength indication (RSSI), the service set identifier (SSID) of the BSS, the media access control (MAC) address of the access point and the IP address associated with the WiFi adapter. You will find the application under WiFiStatus.zip...
The steps to connect to an WEP encrypted access point using NDISUIO are: Disassociate from the current service set (OID_802_11_DISASSOCIATE). Set network mode to Ndis802_11Infrastructure (OID_802_11_INFRASTRUCTURE_... Set privacy filter mode to Ndis802_11PrivFilterAcceptAll (OID_802_11_PRIVACY_FILTER). Set the Wired Equivalent Privacy (WEP) keys (OID_802_11_ADD_WEP). Set authentication mode to Ndis802_11AuthModeOpen, Ndis802_11AuthModeShared or Ndis802_11AuthModeAutoSwitch (OID_802_11_AUTHENTICATION_...
The following sample application, written in C++, will show how to do it: // capability.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include #define OID_802_11_CAPABILITY 0x0d010122 typedef enum { Ndis802_11AuthModeWPA2 = Ndis802_11AuthModeWPANone + 1, Ndis802_11AuthModeWPA2PSK, }; typedef struct _NDIS_802_11_AUTHENTICATION... { NDIS_802_11_AUTHENTICATION_... AuthModeSupported; NDIS_802_11_ENCRYPTION_STATUS EncryptStatusSupported;...
The steps to connect to an open access point without any encryption using NDISUIO are (see also 802.11 Network Association): Disassociate from the current service set (OID_802_11_DISASSOCIATE). Set network mode to Ndis802_11Infrastructure (OID_802_11_INFRASTRUCTURE_... Set privacy filter mode to Ndis802_11PrivFilterAcceptAll (OID_802_11_PRIVACY_FILTER). Set authentication mode to Ndis802_11AuthModeOpen (OID_802_11_AUTHENTICATION_... Set encryption mode to Ndis802_11EncryptionDisabled (OID_802_11_ENCRYPTION_STAT...
I have also written a little Win32 console application in C++ that will show how to do it, to run it you have to install the PocketConsole from SymbolicTools: // accesspoints.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include #include #include "strconv.h" int _tmain(int argc, _TCHAR* argv[]) { if (argc [delay in ms]\n"); printf(" name of the wireless adapter\n"); printf(" [delay in ms] delay between scan and list query\n");...
I have written a little Win32 console application in C++ that will show how to do it, to run it you have to install the PocketConsole from SymbolicTools: // adapters.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include #include #include #include "strconv.h" /* * Windows CE does not have a localtime() function, so create a substitute. * See SQLite WinCE Port [http://sourceforge.net/pro... */ struct tm* localtime(const...
For a simple string conversion between ANSI and Unicode on a Pocket PC I have written some C++ classes: CTtoA for conversion from LPCTSTR to LPCSTR CTtoW for conversion from LPCTSTR to LPCWSTR CAtoT for conversion from LPCSTR to LPCTSTR CWtoT for conversion from LPCWSTR to LPCTSTR CAtoW for conversion from LPCSTR to LPCWSTR CWtoA for conversion from LPCWSTR to LPCSTR strconv.h 1 ///////////////////////////... 2 // 3 // strconv.h - Some useful classes for...
Full Programmieren Archive