Skip to content

Communication

Package carp_communication_package
Code packages/carp_communication_package

This library contains a sampling package for collection of contextual data to work with the carp_mobile_sensing framework. This package supports sampling of the following Measure types:

  • dk.cachet.carp.phone_log - the phone log.
  • dk.cachet.carp.text_message_log - the text (sms) message log.
  • dk.cachet.carp.text_message - incoming text (sms) messages.
  • dk.cachet.carp.calendar - all calendar entries.

Note that collection of phone and text message data is only supported on Android.

See the CAMS documentation site for further documentation. See the CARP Mobile Sensing App for an example of how to build a mobile sensing app in Flutter.

This package implements default privacy protection of text messages, phone numbers, and calendar entries as part of the default Privacy Schema. These functions are implemented in the communication_privacy.dart file and use standard SHA1 hashing.

If you’re interested in writing your own sampling packages for CARP, see the description on how to extend CARP Mobile Sensing.