... | ... | @@ -186,10 +186,14 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn |
|
|
* GET the `/.well-known/core` resource (it is generated automatically by the server)
|
|
|
* GET the `/.well-known/core` resource using multicast (aka. Multicast Discovery)
|
|
|
* Multicast Adresses:
|
|
|
* `CoapConstants.COAP_ALL_NODES_IPV4_MC_ADDR`,
|
|
|
* `CoapConstants.COAP_ALL_NODES_IPV6_LL_MC_ADDR` and
|
|
|
* `CoapConstants.COAP_ALL_NODES_IPV6_SL_MC_ADDR`
|
|
|
|
|
|
```
|
|
|
`CoapConstants.COAP_ALL_NODES_IPV4_MC_ADDR`
|
|
|
`CoapConstants.COAP_ALL_NODES_IPV6_LL_MC_ADDR` and
|
|
|
`CoapConstants.COAP_ALL_NODES_IPV6_SL_MC_ADDR`
|
|
|
```
|
|
|
|
|
|
* Add a token to identify resposes on multicast request
|
|
|
```java
|
|
|
// add a (mandatory) token to match outgoing multicast message and incoming unicast messages
|
|
|
request.setToken("MCToken".getBytes());
|
... | ... | |