---
# System prepended metadata

title: C language for  edge and cloud applications

---

# C language for  edge and cloud applications

## Run C and handling JSON in VS code 
- [Jerry blog](https://blog.yangjerry.tw/2021/09/24/vscode-cpp-2021-part1/)、[Video](http://203.64.84.150:51888/user5/v/c/2022-08-02VScodeCJSONParsor.mp4)
- nlohmann json教學
-- [參考入門處理 JSON](https://ithelp.ithome.com.tw/articles/10223947)
-- [nlohmann json](https://github.com/nlohmann/json)
## C CSV parsor [1](https://stackoverflow.com/questions/12911299/read-csv-file-in-c)

## 開檔、讀寫檔案(IO stream)、及解析檔案資料
- [檔案或串流資料解析](https://hackmd.io/lw-wxcs_Rhm1o0_QP4Eddw)
- [臨床資料解析處理](https://hackmd.io/ksxMra5MT4m6IUoSQ3-vcw)
## MQTT buletooth BEL

## TCP/IP or HTTP
- [Socket 1](https://www.geeksforgeeks.org/socket-programming-cc/)、 [Socket 2]( https://github.com/fpagliughi/sockpp)
- [Simple C example of doing an HTTP POST and consuming the response](https://stackoverflow.com/questions/22077802/simple-c-example-of-doing-an-http-post-and-consuming-the-response)
- [FHIR HTTP get](https://drive.google.com/drive/folders/1NqcHTVpTeZZ-QYLr6CsNbNNFoz4-AQDg?usp=sharing)、[FHIR HTTP post](https://drive.google.com/file/d/1kjRmQ9RvcOzWH6nZSTzuQTkeWymtvTj2/view?usp=share_link)
- [DICOM communication](https://dicom.nema.org/medical/dicom/current/output/chtml/part07/sect_D.3.3.4.html)

## Communication Security
- [OpenSSL](https://www.cnblogs.com/chevin/p/11041399.html)
-- [Simple_TLS_Server](https://wiki.openssl.org/index.php/Simple_TLS_Server)
-- [mutual tls authentication](https://stackoverflow.com/questions/53952695/how-to-do-mutual-tls-authentication-in-c-code-using-openssl)
-- [A C++ TLS Client](https://gist.github.com/vedantroy/d2b99d774484cf4ea5165b200888e414)

## Applications
- MicroProcessor C RISC C 、[edge AI](https://hackmd.io/JiPgHRUWQqaI_xf1wbnz1A)
- Waveform data to FHIR
- [IoT device 端或 server 端處理 JSON data](  https://hackmd.io/2QFjeso0QF6w0QiR9WiXxA?view) 
- [DICOM association](https://drive.google.com/drive/folders/10sQ6O_XkJ7kfQmF-Su6-77fEe5aIxIrX?usp=sharing)

## FHIR security microcourse
- 通用
-- FHIR 簡介 1 hr (影片)
-- FHIR API demonstration ( 2hr) 線上(同學需有電腦)或實體電腦教室
- Patient portal (2hr)
- IHE and IHE XDS, XDS on FHIR, and Patient portal
-- 需一系列資安要求
- FHIR administration resources (2hr)
-- 配合應用情境，建立細部規格,如:
--- 如各醫院個館聯繫窗口 PR 線上聯繫所需規格
- FHIR API access control (1hr)
- Planning use case discussion (1hr)

1. 建議先熟悉 PKI 相關技術
如憑證發放及管理、簽驗章、加解密、TLS
2. 將 FHIR 人員組織裝置管理，應用於 IoT、雲端內容管理等應用情境
3. 可基於情境，實作 JES,JWE,JWT 應用

 將針對 EMR and PHR 資安分享作討論
-- 各式程式 加解密 簽驗章
line web hook 加解密 簽驗章 API or 函式，方便呼叫(提供HTTP API 之微服務?)
