# WISHI hackathon 2020-04-09
---
## Logistics
* April 9th (Thursday), 14:00-18:00 UTC
* (7:00-11:00 PDT, 16:00-20:00 CET)
* Webex: https://ietf.webex.com/ietf/j.php?MTID=m83b10e45779af76449eb5c69e63dde04
* Notes: https://hackmd.io/4ZmzsXjeRoe6pQLqFejckg?both
---
## Objectives
* Get some progress on the code we are using
* Both open-source and unilateral code
* Find bugs in specifications, code
* **Document** results
* PRs to specifications, to code
* Tutorials, Wikis, ...
---
## Running an Online Hackathon
* We stay in the Webex all the time
* Long stretches will be quiet
* Hard to organize
"Legitimate Peripheral Participation"
* ➔ Don't be shy just showing off things
by screen share
* More formal start, end (20–30 min each)
* Collaborate using hackmd, etc. -- even PRs
---
## What do we want to achieve: Potential Challenges
* PoC of **semantic proxy** that can read a temperature value of LwM2M device from OCF application, all based on the SDF model only
* One-up: use OCF conformance testing tool as a client with that
---
## Proxy challenge
* OCF application sends a request to the HTTP/Swagger API of the proxy
* Proxy makes a request on Leshan API based on the HTTP request and
* Leshan makes a LwM2M requests to client
* The resulting response is sent to OCF application in the format used by OCF
---
```graphviz
digraph G {
{
// rank=same;
"OCF app" -> "Proxy" [label="OCF req"]
"Proxy" [fillcolor = red]
"Proxy" -> "LwM2M server" [label="Leshan API req"]
"LwM2M server" -> "LwM2M device" [label = "LwM2M req"]
"LwM2M device" -> "LwM2M server"
"LwM2M server" -> "Proxy"
"Proxy" -> "OCF app"
}
}
```
---
## Proxy challenge details
* LwM2M (SenML) ➔ OCF data format
* Need SDF file + mapping
* One-up: (Could be configured initially)
Carry over node identity information: what implementation talking to
* Can OCF APIs use
LwM2M endpoint IDs (URNs)?
* How to discover?
---
## Meta-Challenge: Object Instance Data: formatting?
* How to express what kind of format a protocol binding / ecosystem model is using, e.g.:
* media type field
* How to describe the above?
* JSON-schema.org style descriptions
* CDDL?
* SDF qualities (bit width, etc.)
---
## Agenda today
|time|topic|
|----|-----|
|14:00Z | start|
| | Intro (Carsten)|
| | Descriptions of tools brought to the Hackathon (MJK, AK, KH, Who else?)
|14:20Z | start hacking period
|17:30Z | discuss what we have achieved
| 18:00Z| end
{"metaMigratedAt":"2023-06-15T06:23:39.563Z","metaMigratedFrom":"YAML","title":"WISHI hackathon 2020-04-09","breaks":true,"contributors":"[{\"id\":\"ad9f5634-727a-4ea3-b3fa-5a949896db7c\",\"add\":1086,\"del\":41},{\"id\":\"1bea8b86-f596-4398-be1d-5adfaae10758\",\"add\":1644,\"del\":119}]"}