Cubic iTrigger User Guide 1 Bluetooth BLE Advertising PowerON Advertising
(3min) connection Y StopAdvertising N Disconnection Y N N Advertising
>3min Y StopAdvertising Y OnBoardKey ispressed?
N Note :
There are 2 identical images, Image_A & Image_B, in devices flash. normally Image_B is the first choice to run, Image_A is a backup image, both images support OAD Feature. 2 Key Code On-board vKey Key 0x00 0x01 x 0x03 x x x x x Focus/Shutter Output
( 0 -> off, 1 -> on ) Key Definition 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
(Focus 0, Shutter 1)
(Focus 0, Shutter 0)
(Focus 1, Shutter 0)
(Focus 0, Shutter 1)
(Focus 1, Shutter 1) 1. 2. Hold 100ms 3. 1. 2. Hold 100ms 3. 1. 2. Hold 100ms 3.
(Focus 0, Shutter 0)
(Focus 0, Shutter 0)
(Focus 1, Shutter 1)
(Focus 0, Shutter 0)
(Focus 1, Shutter 1)
(Focus 1, Shutter 0) 0x08
(Focus 1, Shutter 0) All Keys are Released Focus Only Shutter Focus + Shutter Shot ( short shutter Click, hold 100ms) Focus + Shot -> release all keys after 100ms Focus + Shot -> leave Focus ON after 100ms All keys are released, use in ending vKey = 0x03 Hold Focus, Use in ending vKey = 0x03 3 LED Definition Bluetooth BLE Mode / Key Mode 3.1 Bluetooth BLE Mode ( Low Priority ) Bluetooth BLE Status LED Advertising Connection Completed Connection Non-Advertising Continuously flash 1 time @ 1 sec Flash 3 times Always ON Continuously flash 1 time @ 5 sec 3.2 Key Mode ( High Priority ) LED Always Off Always ON Continuously flash 1 time @ 1 sec Flash 3 times -> Continuously flash 1 time @ 1 sec Flash 3 times -> off Flash 3 times -> off Flash 3 times -> always on Flash 3 times -> off Flash 3 times -> always on Key 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 4 TI Profile 4.1 TI Simple Key Profile UUID GATT Server Permission Note 0xFFE0 0xFFE1 Notification On-board key pressed status, refer to Key Code. Simple Key Service UUID 4.2 TI Simple GATT Profile UUID 0xFFF0 0xFFF1 GATT Server Permission Read/Write Note Simple GATT Service UUID Char 1, Device Control, 4 bytes, w(1 byte)+CMD(1 byte)+Data(2 bytes, D0/D1) 1. CMD=0x01, UART Baudrate Baudrate (bps) 4800 (default) 9600 38400 57600 115200 D0 0x00 0x01 0x02 0x03 0x04 2. CMD=0x02, UART Configuration Definition 0 Flowcontrol,1enable,0disable Parity,1odd,0even Data,19bit,08bit ParityCheck,1enable,0disable Numberofstopbit,12bit,01bit Stopbitlevel,1Hi,0Lo StartbitLevel,1Hi,0Lo D0 b7 b6 b5 b4 b3 b2 b1 b0 3. CMD=0x03, OAD Flag Flag value write Image-B write Image-A D1 0x0B 0xFE 4. CMD=0x04, Camera Shot-time, default 100ms D1/D0 Definition D1(h)/D0(l) D1.7=1, us mode (about 30 us/step) Time : 0x8001 ~ 0x8015 ( 30 ~ 450 us )
> 0x8015, Time = default. D1.7=0, ms mode Time = D1[6-0] x 2^8 + D0 (ms) Note : if 0x0000, it will be set to default. 5. CMD=0x05, UART Tx Disable Definition Manually stop Tx transmitting
( if write to char 5, UART Tx will restart) D1 0x01 6. CMD=0x06, UART Tx re-sending time, default =1500ms Time = 1000 + (D0 x 100) ms Reserved vKey refer to key Code Returning message 0x00 UART write ok 0x01 UART Write Fail 0x02 vKey received Char 5, GPS Compressed Data, 20 bytes Note TI OAD GATT Service UUID TI OAD Identify Char ( 0 Image_A, 1 Image _B ). Image matches, Returning - ver(2byes)+Len(2bytes)+ID(4bytes) TI OAD Block Char,18 bytes, Frame = 2 bytes Block Num + 16 bytes data 0xFFF2 0xFFF3 0xFFF4 Write Notification 0xFFF5 Write 4.3 TI OAD Profile UUID GATT Server Permission 0xFFC0 0xFFC1 Write 0xFFC2 Write a. write Simple GATT Profile char 1 with w+0x03+0x0B, it erases CRC of image_B Header, then reboot to image_A. a. write Simple GATT Profile char 1 with w+0x03+0xFE, it erases 5 OAD (on-air Download) 5.1 Notice 5.1.1 Image_A area : device runs in image_B, Image_B area : device runs in image_A. 5.1.2 Write image_B if in image_B b. excute OAD Procedure 5.1.3 Write image_A if in image_B CRC of Image_A Header. b. Excute OAD Procedure 5.2 Procedure 5.2.1 How to Check Running Image ReadImageHeader Start OADUUID Service:0xFFC0 Identity:0xFFC1 Block:0xFFC2 Write
<OADIdentifyChar>
w/imagecheckID Image checkID A:0x00 B:0x01 ImageID A:AAAA B:BBBB Return0 Y N Return RunningImageHeader
<ver>+<Len>+<ID>
224 ImagecheckID NotMatch Image Version A:0x00 B:0x05 End
<ForcebootfromImage_A>
Pressonboardkeybeforepoweron OADUUID Service:0xFFC0 Identity:0xFFC1 Block:0xFFC2 ImageHeaderformat
<ver>+<len>+<ID>
2byte2byte4byte ProgrammingFlag Write<SimpleGATTProfileChar1>with CMD:0x03 D0:0x0B(writeImage_B) 0xFE(writeImage_A)
<writeImage_B>
Ver=0x05,0x00 Len=0x00,0x7C
(ImageFileSize/4) ID=BBBB
<writeImage_A>
Ver=0x00,0x00 Len=0x00,0x7C
(ImageFileSize/4) ID=AAAA
<Data>
ImageBinaryFile 5.2.2 Programming OADStart CheckRunning Image,AorB SettingProgrammingFlag Y write<IdentifyChar>
w/Ver+Len+ID N N
<BlockChar>
receivestartblock num0x00?
Y wirte<BlockChar>
w/[BlkNum](2bytes)
+
[Date](16bytes)
<BlockCharNoti.>
ReturnNextBlknum LastBlock Y DeviceRestart automaticlly End 6 USB Pin Definition 6.1 Diagram 6.2 Pin Pin 1 2 3 4 5 Name VCC FOCUS SHUTTER UART TXD GND I/O Input Output Output Output GND Function Module power supply Focus On/Off output Shutter On/Off output UART TxD output System Ground FCC Statement This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. FCC Statement This device complies with FCC radiation exposure limits set forth for an uncontrolled environment. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Caution!
Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.