Hello,
Our company bought the CC3235MODASF evaluation kit.
I've been tasked to use the kit as hostless mode and via HTTPClient commands to send a GET request to a server with BASIC authentication.
There's enough documentation to start the kit and connect to a pre-defined Wi-Fi network, but not enough to use the HTTP Client.
Here's my flow :
1. Connect to a network (pre-defined SSID and password)
2. Create an HTTP client (HTTPCreate)
3. Connect HTTP to a host (using the HTTPConnect AT Command)
4.Set HTTP header (using the HTTPSetHeader AT Command) (the data is parsed as simple string)
5. Send the request
I receive 401 error code, which is weird as I checked the authentication using Postman and it worked.
So my thought is the issue isn't with encoding the <user:pass>.
Also, I've tried sending a request to other hosts and I've succeeded to get a response.
P.S: I use Python with pySerial to send the AT Commands and base64 encoding the authentication.