xively / xively-client-c

The official and highly portable Xively C Client designed for embedded platforms.
Other
18 stars 22 forks source link

Feature/gateway fixes: various problems were solved found by Travis #188

Closed atigyi closed 6 years ago

atigyi commented 6 years ago

[ Description ] This PR contains fixes of issues previous PR caused, these were:

These were solved by removing using separate thread for callbacks between the two internal layer chains: main layerchain and the edge device layerchain. The gcc issue was a little bit more tricky: I had to remove not used include from the mock broker which resulted favourable simplification but also I had to adapt test cases to this mock broker change. The memory problem was solved by strict "object" lifetime eye-o-scopic pursuit :)

[ JIRA ] https://jira.ops.expertcity.com/browse/XCL-2939

[ Reviewer ] @DellaBitta

[ QA ] All Travis targets and tests pass.

[ Release Notes ] n/a