1. Introduction 1.1. Scope This Communication I/F Manual applies to Environment Sensor (PCB Type) 2JCIE-BL01-P1 (hereinafter, referred to as Environment sensor). 1.2. Communication Interface Environment sensor communicates with a smartphone, tablet, etc. via Bluetooth® low energy. Table 1. GAP Role...
Measurement Update Latest data Update Latest data Update Sequence No. Time information Cleared Data Recording Update row No. Row No.? < 12 Save to Flash Memory New page Figure 1 Operation flow 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Table 3. List of Beacon Mode without Data Recording Beacon Mode Name Shortened Device Name Device Name 0x02 General Broadcaster 1 IM-BL01 0x03 Limited Broadcaster 1 IM-BL01 0x04 General Broadcaster 2 EP-BL01 0x05 Limited Broadcaster 2 EP-BL01 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Number of Characteristics 0x3000 Sensor Service 0x3010 Setting Service 0x3030 Control Service 0x3040 Parameter Service 0x3050 DFU Service 0x1800 (Public) Generic Access Service 0x1801 (Public) Generic Attribute Service 0x180A (Public) Device Information Service 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
*1 In the operation with data recording mode, the value is always zero unless Time information is set. *2 Discomfort Index, Heatstroke risk factor(WBGT approximation)are calculated only by temperature and humidity. These information is just a rough indication and for referential use only. 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Table 11. Response flag format Byte Field Format Contents 0x00: Retrieving Update flag UInt8 0x01: Completed 0x02: Failed to retrieve data Created time of this page. UNIX TIME UInt32 Unit:1 sec Range:1970/1/1 0:00:01~2106/2/7 6:28:15 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
SInt16 Unit:1 lx UV Index SInt16 Unit:0.01 Barometric Pressure SInt16 Unit:0.1 hPa Sound noise SInt16 Unit:0.01 dB Discomfort Index SInt16 Unit:0.01 Heatstroke risk factor SInt16 Unit:0.01 degC Supply voltage UInt16 Unit:1 mV 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Page 14
*3. If the result of reading Response flag is 0x02: Fail and updating is not completed after 3 times of retry, the data in the flash memory may be corrupted. In this case, skip the corresponding page and obtain the data of the next page. 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
[previous] :The stat in which the difference between the latest data and the previous data is equal to or greater than the set threshold. Simple Thres Figure 3 Event detection 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
It can be used for identifying the sensor which is currently connected, such as when there are a plurality of sensors. Table 27. LED on duration format Byte Field Format Contents Unit:1 sec LED on duration UInt8 Range:1~10 sec 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
After setting 0x01 for DFU Service, subsequent Service Discovery operation can discover hidden DFU Service. Table 29. Trigger format Byte Field Format Contents UInt8 0x00:None (Always set to 0x00) 0x00:Disable DFU Service Enable / Disable UInt8 0x01:Enable 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Specify UUID to be sent in Beacon Mode = Beacon(Advertise Format (A)). Table 31. UUIDs format Byte Field Format Contents Default: UUID Uint128 0C4C3000-7700-46F4-AA96D5E974E32A54 Default:0x0000 Major UInt16 *Not used Default:0x0000 Minor UInt16 *Not used 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Table 34. List of Characteristic in DFU Service Properties Attribute UUID Characteristics Byte 0x3051 DFU Control Point ✔ ✔ 0x3052 DFU Packet ✔* 0x3053 DFU Revision ✔ *”W” in DFU Packet means Write Without Response 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
* Battery Voltage (= Supply voltage) in Advertise Format shall be expressed as follows. ((Acquired value + 100) x 10) mV * Event flag (sensor name + Evt) in Advertise Format conforms to the bit field of 2.1.6 Event flag. 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
1 AD Type 0x01 2 Flags 0x06 3 Length 0x03 4 AD Type 0x02 0x0A 16-bit Service UUIDs 0x18 7 Length 0x04 8 AD Type 0x08 "E" Local Name "n" "v" CRC (3 octets) 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Acceleration Y Acceleration Z 26 Battery voltage 27 Length 0x03 28 AD Type 0x08 "I" Local Name "M" *Acceleration values are valid only with built-in Accelerometer type. Otherwise, these will be zero. 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
0x02 7 Sequence number Temperature Relative humidity Ambient light UV index Pressure Sound noise Discomfort index Heat stroke 26 Battery voltage 27 Length 0x03 28 AD Type 0x08 "E" Local Name "P" 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
Page 43
Revision history Revision Date Changes 22/05/2018 Released 28/05/2018 Modified : Product name 2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)