- edited description
DataLogger service to be configured to subscribe to your own whiteboard resource
Have investigated sample code to subscribe DataLogger to move sensors.
[https://bitbucket.org/suunto/movesense-mobile-lib/src/master/android/samples/DataLoggerSample/](https://bitbucket.org/suunto/movesense-mobile-lib/src/master/android/samples/DataLoggerSample/)
But failed to subscribe to my own whiteboard resource.
As example used jump counter from jump count sample.
[https://bitbucket.org/suunto/movesense-device-lib/src/master/samples/jumpmeter_app/](https://bitbucket.org/suunto/movesense-device-lib/src/master/samples/jumpmeter_app/)
WB_RES::LOCAL::SAMPLE_JUMPCOUNTER_JUMPCOUNT::LID
And have tried to connect to it by
DataLoggerConfig.DataEntry[] entries = {new DataLoggerConfig.DataEntry('/Sample/JumpCounter/JumpCount')};
But get only last value, not all the values.
What need to do else?
Or have some sample of DataLogger service to be configured to subscribe to your own whiteboard resource?
Comments (9)
-
reporter -
reporter - edited description
-
reporter - edited description
-
- changed status to open
-
Looks like there is an issue with the SBEM=>JSON conversion when using just primitive value service (the actual binary data stored in sensor memory contains all the notifications). It works correctly if the notification type in your own service is a more complex type, so for now I’d recommend you change your service return type.
-
Bug id: 93703
-
There are two cases where this happens:
1. primitive valued subscription
2. subscription with one-piece path: /AAAAAAAA/Subscription with object valueAvoiding those cases in your service avoids this issue.
-
Issue will be fixed in coming release 2.1
-
- changed status to resolved
Fixed in 2.1
- Log in to comment