- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an application I have written that has 2 simple functions taken from snips and samples in the wiced SDK 6,2. I am running the code on the BCM94343W_AVN.
A link to my application is included at the bottom of this post.
After connecting to the network there are 2 function calls in the application_start()
sendMessage(); // This function does a SSL Post of a message using the http_client
sensor_application_init( ); // This function Initializes the BT Stack and then observes for beacons.
If these lines above are commented out one at a time, the application and each function independently works fine.
However, If they are both enabled then the http_client will break and not connect and the bluetooth will no longer observe?
I have tried increasing the application stack, but I am stuck as to why these will not work together. The purpose of using a combo chipset was so that I could use both BT and an http client at the same time.
You can either use my code below and add your wifi info or take the snip.httpbin_org and initialize the BT Stack with something like wiced_bt_stack_init(). Of course you need to include the necessary dependencies.
Application Code:
https://drive.google.com/open?id=1lwfWolhKoksYiI-fvCGEhbhcTNgE4RCV