
this is using the mbed os version 5-13-1
source/wifi_demo.h@129:590bdc2dcf5b, 2019-07-19 (annotated)
- Committer:
- ocomeni
- Date:
- Fri Jul 19 16:49:26 2019 +0000
- Branch:
- PassingRegression
- Revision:
- 129:590bdc2dcf5b
- Parent:
- 74:f26e846adfe9
Implementation of Access token acquisition; 1. make request with credentials - DONE; 2. get response - DONE; 3. extract Id and refresh tokens from response - DONE; 4. integrate with code - DONE; Testing ongoing
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ocomeni | 74:f26e846adfe9 | 1 | #ifndef __WIFI_DEMO_H__ |
ocomeni | 74:f26e846adfe9 | 2 | #define __WIFI_DEMO_H__ |
ocomeni | 74:f26e846adfe9 | 3 | |
ocomeni | 74:f26e846adfe9 | 4 | #ifndef __MBED_H__ |
ocomeni | 74:f26e846adfe9 | 5 | #define __MBED_H__ |
ocomeni | 74:f26e846adfe9 | 6 | #include "mbed.h" |
ocomeni | 74:f26e846adfe9 | 7 | #endif |
ocomeni | 74:f26e846adfe9 | 8 | |
ocomeni | 74:f26e846adfe9 | 9 | #include "mbed_trace.h" |
ocomeni | 74:f26e846adfe9 | 10 | #include "https_request.h" |
ocomeni | 74:f26e846adfe9 | 11 | #include "http_request.h" |
ocomeni | 74:f26e846adfe9 | 12 | /* List of trusted root CA certificates |
ocomeni | 74:f26e846adfe9 | 13 | * currently two: GlobalSign, the CA for os.mbed.com and Let's Encrypt, the CA for httpbin.org |
ocomeni | 74:f26e846adfe9 | 14 | * |
ocomeni | 74:f26e846adfe9 | 15 | * To add more root certificates, just concatenate them. |
ocomeni | 74:f26e846adfe9 | 16 | */ |
ocomeni | 74:f26e846adfe9 | 17 | #include "https_certificates.h" |
ocomeni | 74:f26e846adfe9 | 18 | int wifi_demo_func(NetworkInterface* network); |
ocomeni | 74:f26e846adfe9 | 19 | |
ocomeni | 74:f26e846adfe9 | 20 | #endif // __WIFI_DEMO_H__ |