Skip to content

Conversation

ps2
Copy link
Contributor

@ps2 ps2 commented Apr 14, 2018

  • Utility app for resetting transmitters.
  • Support sensor start, stop, calibrate.
  • Observe backfill messages
  • Glucose values can be valid during "needsCalibration14" state.
  • iOS 11 support
  • BLE Modernization
  • Rename to CGMBLEKit

ps2 and others added 24 commits January 23, 2018 23:32
Use the same PeripheralManager class as RLBLEKit2, and fix auth issues
Moves the example app to the Carthage project
Addresses some authentication & bonding issues
fix issue with central manager on transmitter ID change
proceed to control after bond request
Updating the uses of Data to take advantage of its Collection semantics
Making the PeripheralManager convenience methods to work with Message generics
* Observe backfill messages

* Add glucoseHistoryTx back in.  Update example app.
* support start, stop, calibrate

* use let not var

* remove print statetment

* add Command enum, and logic for start, stop and calibrate

* use closures to call transmitter delegate methods

* remove extra whitespace and HealthKit dependency

* add opcode for calibrateGlucoseRx

* add CRC to SessionStopTxMessage

* add seconds since epoch, add CRC to SessionStartTxMessage

* build CalibrateGlucoseTxMessage

* add stubs for TransmitterDelgate methods

* remove actions from example app temporarily

* revert change to start restoration, add rawValue to log

* restore line return at eof

* add calibration button

* set glucose units in one place

* add else clause

* revert previous commit

* rename synchronize readTimeMessage

* add method to read calibration data

* fix glucose units in calibrate function

* add documentation comments for disambiguation

* move Command enum to new file

* add private Action enum

* add changes to project

* round before cast

* serialize action as raw value

* just use Int, not UInt8

* remove glucoseUnits user preference

* use toInt()

* use startTime, stopTime rather than time

* add lastCalibration as optional property of Glucose

* add default value of nil

* add thread-safe CommandQueue

* create protocol TransmitterCommandSource

* remove HealthKit dependency

* remove dev team

* add custom string for CalibrationState

* add start and stop actions to example app

* fix button names

* use let not var

* remove isEmpty, always access list inside lock

* don't use default case; use String(describing:)

* don't dispatch TransmitterCommandSource methods

* mask glucose value to exclude 4 most-significant bits
* Utility app to reset transmitter clock.

* Bump travis-ci xcode to 9.3 and simulator to 11.3

* Remove sdk option for travis-ci xcodebuild command
* instructions for ResetTransmitter build

* Update README.md
* Workaround for incorrectly annotated CBConnectPeripheralOptionStartDelayKey

* Use project default deployment target

* Reset app requires iOS 11.0
* Rename xDripG5 framework to CGMBLEKit to avoid confusion with other xDrip projects
Update glucose reliability to check glucose values
@ps2 ps2 merged commit e9d08bf into master Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants