This example codes uses the wolfssl library to get hastags from Twitter by using the FRDM-K64F board from Freescale

Dependencies:   EthernetInterface-FRDM HTTPClient mbed-rtos mbed wolfSSL WDT_K64F

Fork of SimpleHTTPSClient by wolf SSL

Revision:
2:071a8275fa40
Parent:
1:54bce95d1d97
Child:
3:41412e91afb0
--- a/main.cpp	Mon Dec 08 12:40:31 2014 +0000
+++ b/main.cpp	Mon Dec 08 22:26:51 2014 +0000
@@ -9,7 +9,7 @@
 HTTPClient http;
 char recvBuff[1024*20];
 
-int main()
+void net_main(void const *av)
 {
     int ret ;
 
@@ -45,4 +45,15 @@
     eth.disconnect();
     while(1) {
     }
+}
+
+main()
+{
+
+#define STACK_SIZE 20000
+    Thread t(net_main, NULL, osPriorityNormal, STACK_SIZE);
+
+    while (true) {
+        Thread::wait(1000);
+    }
 }
\ No newline at end of file