smallPeerInfo
) Ditto system collection and avaiable for Ditto SDK version 4.4.0 and later.
Once enabled, you can access the following details for each device using the portal:
- Mesh network connection status
- Timestamp when last seen by Ditto Server
- Names and unique identifiers
- Operating System (OS)
- Address peer key
- Latest device logs
- Custom user metadata
Viewing devices with Ditto SDK 4.8.0 and later
The Device Dashboard will automatically be populated withsmallPeerInfo
in the Ditto SDK 4.8.0 and later.
To opt out of having device data written and transmitted to the Portal, you must disable smallPeerInfo
Viewing devices with Ditto SDK 4.4.0 - 4.7.x
In earlier versions of the Ditto SDK, thesmallPeerInfo
feature needs to be manually enabled to collect data. Enable smallPeerInfo
before calling startSync()
using the following steps:
1
Set
smallPeerInfo.isEnabled
set to true
:2
Set the sync scope to BigPeer Only which indicates that the data should be synced to Ditto Server in the Cloud. Default is that the data is only captured locally.
Viewing devices with Ditto SDK 4.3.x and Earlier
The devices dashboard is only supported on devices with SDK version 4.4.0 and later. You must upgrate your application to a support version to take advantage of this feature capability.Custom User Defined Device Name
For cross-platform development or when targeting iOS, if you want the ability to uniquely identify devices within Ditto, call thedeviceName
property on the ditto
namespace and specify the desired name.
This must be set before calling
startSync()
to take effect.Custom User Metadata
You can add custom device information into the device dashboard by setting the Small Peer Infometadata
property on a device.