TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139841 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47739 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28439 times)
  9. PID Library (26989 times)
  10. microSD click (26398 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Wifi Plus click HTTP Client

Rating:

0

Author: dany

Last Updated: 2023-05-10

Package Version: 1.0.0.0

Category: WiFi

Downloaded: 117 times

Not followed.

License: MIT license  

With this example one can load an internet page from an HTTP server.
At this moment the remote IP address is fixed in the code and it loads the default file from the server.
All data received from the HTTP server is sent to Uart1 where it can be picked up by a uart program to display or to save to a file.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Wifi Plus click HTTP Client" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Wifi Plus click HTTP Client" changes.

Do you want to report abuse regarding "Wifi Plus click HTTP Client".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

2023-05-10: Added correct TCP establish connection and TCP close connection. After a while the server closes its connection, so in the previous version communication with the server was lost after a while. This is solved now.

2023-05-06: Made the routine 'CheckToSend' work properly.
 

The project runs on a mini32 board (P32MX534F064H), but can easily be ported to another environment.

It uses the 'Uart_Receiver_P32' library (to capture uart input under interrupt, see https://libstock.mikroe.com/projects/view/102/uart-buffered), the MikroE 'Conversion' library, the 'Strings' library, the 'Uart' library and of course the 'Net_Wireless_MCW1001' library.

At the start of the program (after the connection to the accespoint is made and the TCP communication is established of course) a standard 'GET' request is sent to the HTTP server.

All data received from the HTTP server (so, the received webpage) is sent via the Uart1 output to a tool capable of showing that into. All data received via the Uart1 input (coming from e.g. a PC) is sent to the HTTP server.

The Uart1 is set at 115200 baud.

 

ALSO FROM THIS AUTHOR

OW_Utilities for PIC32

5

This library provides the basic one-wire search ROM and search ALARM routines, e.g. for the DS1820, the DS18S20 and the DS18B20.

[Learn More]

PS2 Keyboard to USB keyboard convertor

5

Makes it possible to use a PS2 keyboard on an USB connector on the PC. Uses the PS2 Keyboard library and the USB HID Keyboard library.

[Learn More]

Fat

24

Several libraries for Fat16 and Fat32: - Fat16Dir (findfirst, findnext) (only P18) - Fat16DirLFN (Fat16Dir for long filenames) (only P18) - Fat32_,1 Fat32_2; single and multiple Fat32 device(s) for P18, PIC24, dsPIC and PIC32 - IDE for P18, PIC24 and dsPIC.

[Learn More]