---
# System prepended metadata

title: Notes about EdgeResources

---

# Notes about EdgeResources

I see that for EdgeResource `interfaceProcotol` and `interface` are mandatory. I describe BLE resources so I add fake interface to use EdgeResource.

if optionnal `edgeResource` can be use to specify custom ressource:
 * for BLE ressource
```yaml
apiVersion: iofog.org/v2
kind: EdgeResource
metadata:
  name: smartcube01
spec:
  name: smartcube01
  version: v0.1.0
  description: Smart Cube 01
  display:
    name: Smart Cube 01
    icon: casino
    color: rgb(250, 165, 90)
  custom:
    macaddress: XX:XX:XX:01
```

 * to share items around apps
```yaml
apiVersion: iofog.org/v2
kind: EdgeResource
metadata:
  name: appsconf
spec:
  name: appsconf
  version: v0.1.0
  description: Application configuration
  display:
    name: appsconf
    icon: casino
    color: rgb(250, 165, 90)
  custom:
    proxy: http://proxy1/
    login: aa
    password: pxw
```

