Skip to content

Conversation

@instanceofMA
Copy link
Contributor

@instanceofMA instanceofMA commented Jan 30, 2021

This feature introduces the following changes:

  • Added a dynamic type Var.
  • Async functions now accept callback of any type not only void(*)(JSONObject).
  • Message queuing when the device is not connected with Grandeur is improved.

moizhusnain and others added 10 commits January 24, 2021 06:36
The event handlers of data can be now type specific
Callback is now based on Var, plus overloading is just on const char*
We aren't handling types in callback for now
Fixed queue, had to had another datastructure
The callback can be typed or can be var
In case of var, it will receive update without casting
or otherwise the data will be casted or error will be returned
It will help us in restoring all subs when required
also added unsub, which automatically deletes subs from queue
The url in macro was trex.dev.grandeur.tech so i got to revert t.
Copy link
Member

@moizhusnain moizhusnain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go.

@moizhusnain moizhusnain merged commit 6d77d32 into master Jan 30, 2021
@moizhusnain
Copy link
Member

Created a release.

@moizhusnain moizhusnain deleted the feature-trex branch January 30, 2021 21:40
@moizhusnain moizhusnain restored the feature-trex branch January 30, 2021 21:40
@moizhusnain moizhusnain deleted the feature-trex branch January 30, 2021 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants