reverse engineering - methods and process
Post on 08-Jan-2017
1.566 Views
Preview:
TRANSCRIPT
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Laura Barilli laura.barilli@mail.polimi.it
Luisa Cucugliato luisa.cucugliato@mail.polimi.it
Friday, May 27, 2016 B3Lab, Via Ponzio, Building 21
Reverse engineering of biomedical elaborated signal
– part 2
2
Detection of biomedical signal..
Context and Problem
..with fitness trackers..
..that are closed source!
Reverse Engineering
Open source codeProcessed data
3http://www.mi.com/sg/miband/#s2
DoneProblem definitionIdea and solutionState of art
Doing
To do
Search of methodsWriting the code
Update of code
Final app
Work Organization
4
Grafic interface
DoneProblem definitionIdea and solutionState of art
Doing
To do
Search of methodsWriting the code
Update of code
Final app
4
Grafic interface
Work Organization
Classes
AttributesMethods
View Controller
CodeAccording to the output of view it chages execution
User interface
Model
Preservation of information
Method: Swift
5
[1]
[2]
[1] https://www.xcoding.it [2] https://developer.apple.com/swift/
import UIKit
Objects
There are two major players involved in all Bluetooth low energy communication:
Central Peripheral
6https://developer.apple.com/
Method: Bluetooth Connection
There are two major players involved in all Bluetooth low energy communication:
import CoreBluetooth
Central Peripheral
6https://developer.apple.com/
Method: Bluetooth Connection
Peripheral
Service(Heart Rate)
Characteristic
Characteristic
Characteristic
Service(Vibration)
Characteristic
Characteristic
Characteristic
Service(Steps)
Characteristic
Characteristic
Characteristic
Central Device
Service(Upgrade)
Characteristic
Characteristic
Characteristic
Central Device
Bluetooth Communication
7
Bluetooth CommunicationPeripheral
Central Device Central Device
HEART RATE
Characteristic
Characteristic
Characteristic
Vibration
Characteristic
Characteristic
Characteristic
Steps
Characteristic
Characteristic
Characteristic
Upgrade
Characteristic
Characteristic
Characteristic
7
8
Overview of code
9
Initializate CBCentralManager
Verify the state of Bluetooth connection
Search of peripherals
Display peripherals to the user
Search Heart Rate UUID (0x180D)
Access to the characteristics of Heart Rate (2A37, 2A39, FF04)
Activation of PPG
Active selection by the user
Search of services
Code
10
Preliminar Results
Reverse Engineering of Biomedical Elaborated Signal
Laura.barilli@mail.polimi.itLuisa.cucugliato@mail.polimi.it
www.facebook.com/reebes.project2016/
Contacts
www.slideshare.net/La_Lu
11
top related