first attempt to install mynewt on the ID107 HR smartwatch experimental I2C KX022 accel sensor driver
my setup is el-cheapo : no J-link, but st-link no Segger RTT, but a serial port (console) (so you have to solder tx, rx of the watch and connect it to serial port)
for info : https://mynewt.apache.org
I struggled (and gave up) to install it on raspberry pi I used : newt_1.4.1-1_amd64.deb
No luck with BLE and bootloader: use the elf.bin binary The id107 smartwatch has only 256k flash memory
After disactivating the log circular buffer setting in syscfg, bluetooth works!
Current status : working acceleration-sensor (kx022) working OIC-server, android mynewt app can visualize the data!
TODO: si114x heart rate sensor
- kx022 -- tap detection, and interrupt generation (detect movement during sleep)
- si1143 disable the sensor (function is already there, but has to be called)
TIP to check config : newt target config show thingy_my_sensor
In this repo is a working bin : id107_kx022_oic_test/app/apps/sensors_test/sensors_test.elf.bin
By flashing it to the ID107HR smart watch, you can get a feel of mynewt
there is an app : Mynewt Sensor Monitor which works with the sensors: https://play.google.com/store/apps/details?id=io.runtime.sensoroic&hl=en_US
and uses the OIC protocol to read/and visualize data from the sensors on the watch