Functions | |
| IPAddress | deviceIp (192, 168, 0, 99) |
| void | setup () |
| void | loop () |
Variables | |
| byte | mac [] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02} |
| IPAddress | destinationIp = IPAddress(192, 168, 0, 100) |
| EthernetUDP | Udp |
| IPAddress deviceIp | ( | 192 | , |
| 168 | , | ||
| 0 | , | ||
| 99 | ) |
| void loop | ( | ) |
PRO-TIP: The library supports building a message in any order. However, given the structure of the CoAP message, some memmove calls will be necessary.
It is slightly more efficient to perform operations in this order:
| void setup | ( | ) |
| IPAddress destinationIp = IPAddress(192, 168, 0, 100) |
| byte mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02} |
Examples of advanced message building.
| EthernetUDP Udp |