User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
159
CONN-GUIDE-BT740_v0.2
The diagram shows that the agent model is the Bluetooth communications stack. The stack consists of an
SDP record that exposes to the outside world the data specializations it is capable of, a ‘Laird IEEE/HDP
Service Encapsulation’ layer which relays commands and responses to the host, and 0 or more instances
of Data Specializations. At the time of the first release of the firmware, only a Weigh Scale specialization
is offered.
All UART commands available to the host are provided so that the various entities in the black box can be
controlled or interrogated. Given there can be many agent specializations embedded in the firmware, they
are identified in various commands using a 16 bit handle.
14.5.5 Weigh Scale Data Specialization
The Weigh Scale Specialization (nominal code 4111) is embedded in the firmware is shown as below and
it contains a MDS and an NU object.
104xx Data Specialisation - Weigh Scale (4111)
Attributes
NU
Collection
Attributes
MDS
Collection
Figure 14-2: Embedded Weigh Scale Specialization
The MDS object is defined in the firmware with the following attributes:
Attribute Tag
Data Type
Comments
MDC_ATTR_ID_HANDLE
2337
HANDLE
Always: 0
MDC_ATTR_SYS_TYPE_SPEC_LIST
2650
TYPE_SPEC_LIST
Const
MDC_ATTR_ID_MODEL
2344
SYSTEM_MODEL
Var:SystemModel
MDC_ATTR_SYS_ID
2436
OCTET_STRING
Var:SystemId
MDC_ATTR_DEV_CONFIG_ID
2628
CONFIG_ID
1500 (0x05DC)
MDC_ATTR_ATTRIBUTE_VAL_MAP
2645
ATTR_VAL_MAP
Const
MDC_ATTR_ID_PROD_SPECN
2349
PROD_SPEC
Const
MDC_ATTR_TIME_ABS
2439
ABSOLUTE_TIME
Var:Time
MDC_ATTR_MDS_TIME_INFO
2629
MDS_TIME_INFO
Const
MDC_ATTR_POWER_STAT
2389
POWER_STATUS
Var:PowerStatus
MDC_ATTR_VAL_BATT_CHARGE
2460
INTU_16
Var: Batt, Chrg.
MDC_ATTR_TIME_BATT_REMAIN
2440
BatMeasure
Var:time_batt_remain