iOS App for reading Dexcom sensor data
Based on the work from Stephen Black for DexDrip.
It uses the DexDrip Wixel Hardware described on his site.
The iOS app will connect tor the HW via Bluetooth and read the sensor data via wifi.
- Basic Setup
- Discover DexDrip HW automatically (no BlueTooth pairing needed)
- Connect to DexDrip and read raw data
- Create database stub
- Store data in DB
- Adding QueryKit for easier CoreData access
- manage sensor (add)
- add calibration data
- enable dummy data when running in simulator for faste development (dont want to wait always for 5 minutes for a new reading)
- adding BG values to DB
- calculate BG value from raw data
- manage sensor (start, stop)
- Get calibration data
- calculate BG value from raw data
- display BG value as graph
tbc
I use sketch for my graphic ressources and add all assets automatically in the asset catalog.
I added a build phase for that: "Insert Sketch Ressources" using sketchtool for that. based on an idea from Matt Zanchelli
# AppIcon
/usr/local/bin/sketchtool export artboards "$PROJECT_DIR"/"Graphics Resources/AppIcon.sketch" --output="$PROJECT_DIR"/"$PROJECT_NAME"/Images.xcassets/AppIcon.appiconset --formats="png"
For creating my DB classes I use mogenerator