
Bluetooth Packets
Table I-7. GATT Scan Data Information Service (continued)
SERVICE UUID
DESCRIPTION
0x53455206-
444C-5020-
GATT SCAN DATA INFORMATION SERVICE
4E49-
52204E616E6F
SUPPORTED
DATA
CHARACTERIS
DATA
PROPERTIES
DESCRIPTION
SIZE
NOTES
TIC UUID
FORMAT
(BYTES)
R
W
N
I
0x43484127-
444C-5020-
unsigned
Index of data to
Request serialized scan data structure
4
X
4E49-
integer
read
52204E616E6F
0x43484128-
Serialized data;
444C-5020-
refer to spectrum
Return serialized scan data structure
MP
X
4E49-
C library for data
52204E616E6F
structure.
I.2
Bluetooth Packets
Bluetooth transmits in short packet sizes. The typical maximum transmission unit for an iOS App is 20
bytes. Multiple packets are needed to transfer the following information to DLP NIRscan Nano:
•
Spectrum Calibration Coefficients
•
Reference Calibration Coefficients
•
Stored Configurations List
•
Scan Configuration Data
•
Stored Scan Indices
•
Serialized Scan Data Structure
The previous tables label the data size as MP to denote that multiple packets are used during transfer.
The packet structure is:
•
First Packet:
–
Packet Index: 00 (one byte)
–
Data size in bytes (4 bytes)
•
N
th
Packet:
–
Packet Index: N-1 (one byte describing the current packet number, zero-based)
–
Data Packet: data (up to 19 bytes)
71
DLPU030B – June 2015 – Revised July 2015
DLP NIRscan Nano Bluetooth Communications
Copyright © 2015, Texas Instruments Incorporated