Commit graph

151 commits

Author SHA1 Message Date
rbaron
9b1efb7f82 Quick and dirty commenting out all LEDs 2022-12-07 20:10:52 +01:00
rbaron
d857448df8 Added a humidity cluster 2022-12-07 20:10:52 +01:00
rbaron
55808ed7e1 Links prstlib and restructures project to match other samples 2022-12-07 20:10:52 +01:00
rbaron
d8322c9162 Modified the zigbee template with added temperature cluster
According to
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/ug_zigbee_adding_clusters.html.
2022-12-07 20:10:52 +01:00
rbaron
f090b25a2c Got manufacturer data to show as "b-parasite" in zigbee2mqtt 2022-12-07 20:10:52 +01:00
rbaron
f05d1f8e3b Zigbee sample works with nRF52840dk + zigbee2mqtt 2022-12-07 20:10:51 +01:00
rbaron
002500dcd6 Adds samples/ble/README.md 2022-12-07 18:57:27 +01:00
rbaron
a8c7d3c1cd <zephyr/zephyr.h> -> <zephyr/kernel.h> in prstlib 2022-12-06 19:18:37 +01:00
rbaron
f7806d4c7e Really fixing BTHome v2 illuminance encoding this time 2022-12-04 10:32:20 +01:00
rbaron
cab55d9b8c <zephyr/zephyr.h> -> <zephyr/kernel.h> everywhere 2022-12-04 10:16:00 +01:00
rbaron
381bbb7ceb Fix illuminance encoding in ble, BTHome v2 2022-12-04 10:13:01 +01:00
rbaron
8bfd75de78 Fix BTHome v2 encoding - sort entries by Object IDs 2022-12-03 13:49:17 +01:00
rbaron
bc08c8284a Updates Zephyr imports to use the <zephyr/...> prefix
See https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#api-changes
2022-12-03 11:26:03 +01:00
rbaron
7c0b83e94e Add blackmagicprobe.board.cmake to board.cmake for both variants 2022-12-03 11:05:24 +01:00
rbaron
6969d74a8c Fixes GitHub actions to use board revisions 2022-12-03 11:04:20 +01:00
rbaron
f476e69229 Adds board revisions for nRF52833 variant 2022-12-03 11:03:55 +01:00
rbaron
dc88916823 Add board 1.0.0, 1.1.0, 1.2.0 board revisions for nRF52840 variant 2022-12-03 10:46:48 +01:00
rbaron
a93171b9bf Adds support for user-supplied BT address
Also cleans up BLE configs
2022-12-01 19:48:36 +01:00
rbaron
0bda7de7cf Add b-parasite with nRF52833 board definition 2022-11-30 19:18:25 +01:00
rbaron
fe09c0b2f1 Update github actions to generate more samples 2022-11-30 18:33:06 +01:00
rbaron
9c62b12446 Update default Kconfig in samples/ble 2022-11-29 22:52:08 +01:00
rbaron
dbaf44ecc1 Cleanup comments 2022-11-29 20:25:15 +01:00
rbaron
3b104cdf24 Implements BTHome v1 and v2 encodings for ble sample 2022-11-29 20:05:41 +01:00
rbaron
fc3a0652aa Add blinky sample 2022-11-28 19:38:32 +01:00
rbaron
46a8285f59 Reuse macros.h in nrf-connect/samples/soil_read_loop/src/main.c 2022-11-27 23:21:50 +01:00
rbaron
cc4c47927b Moves soil_read_loop to samples/ 2022-11-27 22:36:06 +01:00
rbaron
00a7114dd1 Extracts boards/ and dts/ to prstlib 2022-11-27 18:56:47 +01:00
rbaron
5ceccfafcc Extracts prstlib
Moves ble sample to code/nrf-connect/samples
2022-11-27 18:37:42 +01:00
rbaron
df7700cdd7 Recalibrated. BLE sample seems to work e2e @ 2.7uA sleep :) 2022-11-25 23:42:40 +01:00
rbaron
5510fd963c BLE sample kinda works. Pending calibration 2022-11-25 22:30:42 +01:00
rbaron
339e5bebe9 Fixs PWM current consumption - SYSTEM ON sleep @ ~2.7uA 2022-11-22 22:21:16 +01:00
rbaron
6705c11867 Cleanup 2022-11-18 01:16:44 +01:00
rbaron
d18e7ab2d6 Kconfigure BLE service data length 2022-11-18 01:14:58 +01:00
rbaron
c5a5fcaf5f Adds simple Kconfig 2022-11-18 00:50:10 +01:00
rbaron
a65b00a439 Cleanup 2022-11-17 19:56:02 +01:00
rbaron
9333913571 Encoding of b-parasite protocol v2 works I guess 2022-11-17 19:51:35 +01:00
rbaron
8c7a2c35de Update shtc3 API 2022-11-16 19:49:09 +01:00
rbaron
597542649a Moved BLE stuff to src/ble/ 2022-11-16 19:28:40 +01:00
rbaron
3749d689ba Very minimal, working BLE advertising 2022-11-16 00:00:16 +01:00
rbaron
8cfb87ef32 Configs button 2022-11-14 22:37:03 +01:00
rbaron
ffeca36c27 Configures LED 2022-11-14 22:22:08 +01:00
rbaron
c15120178f Enables RTT console for bparasite_nrf52840 2022-11-14 19:13:04 +01:00
rbaron
a639343b6e Code commpiles for custom bparasite_nrf52840 board 2022-11-14 19:01:39 +01:00
rbaron
2779fe9af6 Started adding a b-parasite board. Not working yet 2022-11-14 08:47:14 +01:00
rbaron
3d6b4eaef1 Tame log levels 2022-11-13 17:28:38 +01:00
rbaron
59f2aad3db Some hacky macros for error handling 2022-11-13 17:26:50 +01:00
rbaron
107936770e Better error handling in adc.c 2022-11-13 16:50:34 +01:00
rbaron
6b1f52925e Moved adc stuff to adc.c 2022-11-13 16:18:30 +01:00
rbaron
522452b465 ADC works 2022-11-13 14:37:55 +01:00
rbaron
9c9492567f PWM kinda works 2022-11-13 11:20:31 +01:00