Write a program in C using WIDCOMM (Broadcomm) Windows SDK, for a win32 device,to search for (the bluetooth signal) of a wii remote, and to create a 'bluetooth data acquisition library' of all the data (control information and data) from the wii remote (That should be displayed to the user).
The program should work on the WIDCOMM bluetooth stack (similar to the Bluesoleil stack commonly used). The program should include a 'callback' function and 'process response' function. The program should be written to work on the L2CAP protocol of bluetooth. The program should connect over L2CAP PSM 17 and [url removed, login to view] program should have each line extremely well explained.