Bluetooth Packets; I.2 Bluetooth Packets - Texas Instruments DLP NIRscan User Manual

Table of Contents

Advertisement

www.ti.com
SERVICE UUID
0x53455206-
444C-5020-
4E49-
52204E616E6F
CHARACTERIS
TIC UUID
0x43484127-
444C-5020-
Request serialized scan data structure
4E49-
52204E616E6F
0x43484128-
444C-5020-
Return serialized scan data structure
4E49-
52204E616E6F
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)
th
N
Packet:
– Packet Index: N-1 (one byte describing the current packet number, zero-based)
– Data Packet: data (up to 19 bytes)
DLPU030B – June 2015 – Revised July 2015
Submit Documentation Feedback
Table I-7. GATT Scan Data Information Service (continued)
GATT SCAN DATA INFORMATION SERVICE
DESCRIPTION
Copyright © 2015, Texas Instruments Incorporated
DESCRIPTION
SUPPORTED
DATA
DATA
PROPERTIES
SIZE
FORMAT
(BYTES)
R
unsigned
4
integer
MP
DLP NIRscan Nano Bluetooth Communications
Bluetooth Packets
NOTES
W
N
I
Index of data to
X
read
Serialized data;
refer to spectrum
X
C library for data
structure.
71

Advertisement

Table of Contents
loading

Table of Contents