Confidential By Tarik Expert user guide Customer Approval Company Name Neuronytics Modification history: Revision Date V00 2019-04-28 V01 2019-08-30 V02 2020-06-15 V03 2021-03-18 V04 2021-11-26 Represented by PB Author(s) TM TM TM TM TM Date Approved by TM TM TM TM TM Sign Description 1st Version Keyboard keys pattern updated Keyboard keys pattern updated Serial profile replaced HID State machine and LED behavior PROJECT INFORMATION Customer: Product Designation: Project Number: Customer Specificati
Confidential By Tarik Contents REFERENCES ...................................................................................................................... 3 1. BLUETOOTH PROFILE FAMILY TABLE FOR EGG V01 DEVICE ........................................ 4 2. EGG V01 USE............................................................................................................ 5 2.1. Power ON ..............................................................................................................
Confidential By Tarik Terms and abbreviations Terms LM GAP GATT HID HRS HRP PDU LMP DFU OTA Definition Link manager Generic access profile Generic attribute services Human interaction device Heart rate service Heart rate profile Protocol data unit Link manager protocol Device firmware update Over the air REFERENCES [1] – Bluetooth Core specs– Version 2.6.
Confidential By Tarik 1.
Confidential By Tarik 2. EGG V01 USE 2.1. Power ON 2.1.1. Set-Up Fig 2: Egg power and turn ON Make sure the battery is charged, then press the button for at least 2 seconds will turn ON the device. 2.1.2. Led Behavior A LED color will always be displayed when the device is ON, the color and behavior will be different depending on which mode the device is in. further details about the LED behavior will be explained at relevant sections. 2.2. Button actions 2.2.1.
Confidential By Tarik Button Action Device Actions Nothing Single Press Nothing Device is OFF: Device turns ON Long Press Device is ON: Device turns OFF Nothing Double Press Nothing Triple Press Quintuple press Product in Normal mode : Enter into OTA mode Product in Normal mode : LED starts glowing “ORANGE”. Enters CW mode (next version) Page 6 of 20 Neuronytics Confidential.
Confidential By Tarik 2.2.2. State machine 2.3. LED behavior Page 7 of 20 Neuronytics Confidential.
Confidential By Tarik 2.4. Advertising Mode 2.4.1. Description In this mode, the Egg is discoverable by Bluetooth 4.x supported phones and computers. Those devices can then request to connect to the Egg. “Advertising Mode” timeout after 15 seconds. 2.4.2. Bond creation In “Advertising Mode”, when triggered the product will start accepting pairing queries, if a pairing is successful, bonding keys are exchanged between devices and the bond is created. 2.4.3.
Confidential By Tarik 4. PAIRING EGG WITH AN ANDROID PHONE 4.1. Description With Android phones from 2015 or newest running Android Marshmallow chances are the Egg is most likely supported and pairing the Egg with the phone is as simple as running any NeurodigitX APP. 4.2.
Confidential By Tarik 10 32 11 16 service) UUID (Device This indicates that the device supports device information service information (TBD), Value is set to 0X03030A18 (LSB first again) service) Device name This field specifies the Egg Name: is set to: 0X20 HEXOF(NEURONYTICS_EGG_XXXXXXXXXXXX), where 0x20 is the length of the name which is always 32 and ends by the MAC address of the Egg Check Bluetooth core specs for full Bluetooth packets specs and further details.
Confidential By Tarik 5. EGG GAT SERIAL PROFILE DESCRIPTION 5.1. Input Characteristics Serial over GATT has the following characteristics, not all of them are used: Characteristic Egg mode SSW command New Heart rate sample Heart Rate sample size Heart rate sample index Heart Signal MSB Heart Signal LSB Heart rate signal over Description Indicates the Protocol Mode, 1 for SSW and controls and 0 for HR The Report characteristic is used to exchange data between the Device and the Host.
Confidential By Tarik 5.3. SERIAL Output CHARACTERISTIC -> SSW mode Eggs support also receiving data streams from host devices, which means a phone app or game can interact with the Egg by sending output chars enabling or disabling Sensawaft and heart rate sensor. Another important feature enabled by received output chars is the generation of keys for platform authentication.
Confidential By Tarik Stop sending End sending Sending is stopped and aborted Sending is over, Notify the Egg of its status 5.5. Interaction with host devices Fig 3: Heart rate and HRV reading sequence Page 13 of 20 Neuronytics Confidential.
Confidential By Tarik 6. EGG DEVICE INFORMATION SERVICE 0X180A PROFILE DESCRIPTION 6.1. Characteristics Characteristic Manufacturer name string Model number string Serial number string Hardware revision string Firmware revision string Software revision string Description This characteristic represents the name of the manufacturer of the device, in our case “Neuronytics LLC” This characteristic represents the model number that is assigned by the device vendor.
Confidential By Tarik Fig 4: Device information get sequence 7. EGG BATTERY SERVICE 0X180F PROFILE DESCRIPTION 7.1.
Confidential By Tarik 8. OTA FIRMWARE UPDATES 8.1. Memory management Fig 5: Egg flash memory managment for DFU The OTA firmware update uses a safe process where there is no risk of permanently damaging the Egg system. The new firmware is always stored in Free memory space and verified to be authentic before being copied in the main firmware space.
Confidential By Tarik 8.2. Process Fig 6: Egg DFU mode process flow The Egg enters in DFU mode in two cases: 1) No valid firmware was found 2) Egg receives from host the PUT_IN_DFU command either by a triple press or via Bluetooth When device is in DFU mode the LED is blinking in Blue, when the device is connected to a valid DFU master the LED is purple. Page 17 of 20 Neuronytics Confidential.
Confidential By Tarik 8.3. Create new firmware package In order for any new firmware to be uploadable to Egg devices using the OTA feature, the new firmware binaries should be packaged inside a special format package. Details about how to create such package could be found on: Link Once the package is created it can be uploaded to firmware cloud repository where Neuronytics apps can retrieve it and notify the user of its availability.
Confidential By Tarik Once keys are exchanged, the authentication process is still to be run.
Confidential By Tarik 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.