iT邦幫忙

鐵人檔案

2025 iThome 鐵人賽
回列表
Software Development

以MicroPython在ESP32上實作Insulin Delivery Service 系列

說明如何以MicroPython在ESP32-DevKitC(WROOM-32D)上,開發Insulin Delivery Service peripheral simulator。
支援Bolus注射與Annunciation操作
包含Characteristic:Status Changed, Status, Annunciation Status, Features, Status Reader CP, Command CP, RACP

鐵人鍊成 | 共 31 篇文章 | 1 人訂閱 訂閱系列文 RSS系列文
DAY 21

Day 21 - Temperature 通知 & 優先權管理

昨天咱們已將警示通知的基本型設計好了,接下來就是利用它製作需要輔助欄位的警示通知。 1. Temperature 通知 以下是 IDS 定義的 Temperat...

2025-08-21 ‧ 由 JenLiu 分享
DAY 22

Day 22 - 怒吼吧!IDD Annunciation Status!

1. 警示通知的事件 咱們昨天終於邁進 AnnunciationManager 的第一步 —— 取得最高優先權的警示通知了,但咱們並不清楚 警示通知和 Annu...

2025-08-22 ‧ 由 JenLiu 分享
DAY 23

Day 23 - 命令 IDS Server 做事 - Write Control Point

直到目前為止,咱們都只是單方面接收 IDS Server 的資訊,若不靠外部檔案這一外掛,便完全干涉不了 IDS Server 的運作。今天,咱們就來說明怎麼命...

2025-08-23 ‧ 由 JenLiu 分享
DAY 24

Day 24 - 建立 Control Point 基礎類別

昨天咱們已經有一個 IDD Status Reader Control Point 的雛形了,雖然可以沿著這雛形設計下去,但是 IDD Status Reade...

2025-08-24 ‧ 由 JenLiu 分享
DAY 25

Day 25 - 給 IDD Status Reader Control Point 掛上點果實吧 (1)

昨天咱們已經把 IDD Status Reader Control Point 的架構完成了,但它對所有輸入的資料都是回傳 Op Code not suppor...

2025-08-25 ‧ 由 JenLiu 分享
DAY 26

Day 26 - 給 IDD Status Reader Control Point 掛上點果實吧 (2) 之 Bolus

昨天咱們製作了 Reset Status 和 Get Total Daily Insulin Status 兩個指令,今天咱們來設計 IDS 的核心功能:Get...

2025-08-26 ‧ 由 JenLiu 分享
DAY 27

Day 27 - IDD Command Control Point - 啟用 Bolus

昨天咱們為 IDD Status Reader Control Point 增添了 Get Active Bolus IDs 和 Get Active Bolu...

2025-08-27 ‧ 由 JenLiu 分享
DAY 28

Day 28 - 留下足跡吧 - History Data

IDS 定義了許多系統運作期間可留下的使用歷程,以確保醫師或相關維修人員在需要時可以追蹤問題,現在咱們就來實現這個功能。但目前咱們的 IDS Server 只實...

2025-08-28 ‧ 由 JenLiu 分享
DAY 29

Day 29 - 取回 History Data (1)

昨天咱們已經知道怎麼建置 History Data 類別,也了解如何觸發並儲存它們,接下來的問題就是客戶端怎麼把這些資料取回。 1. IDD Record Ac...

2025-08-29 ‧ 由 JenLiu 分享
DAY 30

Day 30 - 取回 History Data (2) - IDD RACP & IDD History Data

昨天已經知道如何由 BTree 取出資料了,那麼就來完成最後一哩路吧! 1. 實作 Report Stored Records 基本上,IDD Record A...

2025-08-30 ‧ 由 JenLiu 分享