Objective of the thesis is to develop microcontroller library for Arduino UNO microcontroller platform that will carry communication via serial UART interface with a wireless module GainSpan 1500M. The module supports a fairly new way of wireless communication, Wi-Fi Direct. Inclusion of library in the user microcontroller program will allow the user to set the parameters of Wi-Fi Direct connection. The library will be using user parameters to control and establish Wi-Fi Direct connection by sending commands to the module. On the basis of the notifications, module will respond with the command sequence to the module with the aim of establishing a Wi-Fi Direct connection. After Wi-Fi Direct connection is established, communication with the TCP/IP protocol will be established and user microcontroller program can read and send TCP/IP messages with the library functions. Application for the Android operating system will enable automatic connection setup, saving and sending TCP/IP messages.
|