we try to porting http_client to customer cloud API.
But we try the same url to get a 4MB file with wiced_http_get and wiced_https_get.
#define url-data "/201307/09grZeMhnj4ojGhc0O5YFIhfQXaXGJaDaVV_uMNbOtbTgDqSWg==?play_mode=openapi&__gda__=1469510554_a5e16545f9882ab0d5015b4888dbc31f"
tx_data=0x00;//clear a string
sprintf(tx_data,"GET %s HTTP/1.1\r\n",url_data);
result = wiced_http_get( &ip_address, tx_data, buffer, BUFFER_LENGTH);//result will return WICED_OK
result = wiced_https_get( &ip_address, tx_data, buffer, BUFFER_LENGTH, NULL );//result will return ERROR_INVALID_MAC(5006)
After check 5006 error from \WICED-SDK-3.7.0\WICED\security\BESL\include\besl_structures.h
But we don't know hot to fix this problem in https_get because we use the same WIFI modue with the same MAC address.
we just use different api (wiced_http_get,wiced_https_get) to get file.
Any one see the same problem on "snip\http_client" wiced_https_get?
Does any AE know about TLS error code meaning?
We want to debug TLS code.
But we don't know TLS_RESULT_LIST_INVALID_MAC(5006) what's going on?
Maybe heap size not enough or stack size or CA issue?
We try to open more RAM to TLS stack.
But we also don't know how to give TLS stack more RAM size.