Skip to content

Commit 12dcb66

Browse files
authored
iOS App support
2 parents 3a17f09 + 3157b33 commit 12dcb66

7 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Halovision-INSPEC
22

3-
A night-vision smart camera that detects eye movements during REM sleep and triggers audio and visual alerts to promote lucidity.
3+
The <a href="https://inspec.me/">INSPEC</a> is a lucid dreaming device that detects eye movements during REM sleep with a night-vision smart camera and triggers audio and visual alerts to promote lucidity. Like having your own private sleep lab technician that watches you sleep and alerts you when you are dreaming.
44

55
![INSPEC](https://github.com/lucidcode/Halovision-INSPEC/raw/master/images/inspec.jpg?raw=true "INSPEC")
66

77
![INSPECs](https://github.com/lucidcode/Halovision-INSPEC/raw/master/images/inspecs.jpg?raw=true "INSPECs")
88

99
## Works with
1010

11+
- <a href="https://apps.apple.com/us/app/lucid-scribe-lucid-dreaming/id6755086169">Lucid Scribe iOS</a>
12+
1113
- <a href="https://play.google.com/store/apps/details?id=com.lucidcode.lucidscribe">Lucid Scribe Android</a>
1214

1315
![Lucid Scribe Android](https://github.com/lucidcode/Halovision-INSPEC/raw/master/images/lucid_scribe_android.gif?raw=true "Lucid Scribe Android")

firmware/lib/micropython/extmod/nimble/syscfg/syscfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ int nimble_sprintf(char *str, const char *fmt, ...);
137137
#ifdef MICROPY_PY_BLUETOOTH_DEFAULT_GAP_NAME
138138
#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME (MICROPY_PY_BLUETOOTH_DEFAULT_GAP_NAME)
139139
#else
140-
#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME ("MPY NIMBLE")
140+
#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME ("INSPEC")
141141
#endif
142142
#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_MAX_LENGTH (31)
143143
#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM (-1)

release/firmware.bin

-120 Bytes
Binary file not shown.

release/romfs0.img

2.34 MB
Binary file not shown.

software/ble.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self, message_received):
2222
self.send_errors = False
2323

2424
self.ble = bluetooth.BLE()
25+
self.ble.config(gap_name="INSPEC")
2526
self.ble.active(True)
2627
self.ble.irq(self.irq)
2728
self.register()

software/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,18 @@ def __init__(self):
3232
self.default['TriggerDelay'] = 0
3333
self.default['TriggerInterval'] = 1000 * 60 * 1
3434
self.default['NREM1Delay'] = 1000 * 60 * 1
35-
self.default['TimeBetweenTosses'] = 1000 * 60 * 5
3635
self.default['Year'] = 2024
3736
self.default['Month'] = 1
3837
self.default['Day'] = 1
39-
self.default['CreateGifs'] = 1
4038
self.default['TrackFace'] = 1
4139
self.default['TrackEyes'] = 0
4240
self.default['TensorFlow'] = 1
4341
self.default['FaceConfidence'] = 102
44-
self.default['FaceFeatures'] = 16
4542
self.default['DrawFaceRegion'] = 1
4643
self.default['FaceStages'] = 25
4744
self.default['FaceThreshold'] = 0.75
4845
self.default['FaceScaleFactor'] = 1.25
4946
self.default['FaceAngles'] = [-5, 5]
50-
self.default['BlinkCount'] = 8
5147
self.default['AutoGain'] = 0
5248
self.default['AutoExposure'] = 0
5349
self.default['GainCeiling'] = 16

software/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '1.3.2'
1+
version = '1.3.3'

0 commit comments

Comments
 (0)