Resources | Resources |



Connect Abstraction Layer Technology Guide

Base version:

Brew MP 1.0

Document number:

HT80-VT500-211 Rev A

Date published:

May 31, 2011

CAL is a new way of communicating with targets. It supports both simulated and physical targets interchangeably, communicating over Gateway, BTIL, and/or Diag (physical devices only). Once a target is configured in Brew MP Target Manager, CAL automatically handles connections and communication, using the best available technology (Gateway/BTIL/Diag) and abstracting away the need for the user to know which technology should be used for a given operation. For advanced users who want to use a particular technology, CAL provides the means to get a handle for the device that allows the user to use Gateway, BTIL or Diag directly.

CAL APIs are "flat c" and can be invoked by any language/environment. Test applications have been written in C/C++, .NET, Python and Java. Unlike ConnectGW and BTIL, there is no static library to link in. While this could change in the future (depending on demand), the hope was that installation and removal of Brew MP toolsets would not silently switch the version of CAL being used.