Implement different sensors working at the same time
Opened this issue · 0 comments
sushruthajirnis commented
Logging this as a separate issue since the code that I have right now (working a bit) may need further enhancement.
Task was to have many direct remote push xml files with different sensors working at the same time.
The hurdle was that each put request to the gsn involves a notification id . Therefore each different sensor(not device) must have its own identification.
Solved by having a map of processing wrappers with the notification id.
In the assets folder there is a wrapper property list
Using this property list we can build unique notification id's for each wrapper.
These are helpful at the server end while responding with appropriate wrapper for the appropriate wrapper request