ProsecCoAP 🥂
 
Loading...
Searching...
No Matches
coaptest.ino File Reference
#include <SPI.h>
#include <Dhcp.h>
#include <Dns.h>
#include <Ethernet.h>
#include <EthernetUdp.h>
#include <ProsecCoAP.h>

Functions

IPAddress dev_ip (10, 0, 0, 99)
 
void callback_response (CoapPacket &packet, IPAddress ip, int port)
 
void setup ()
 
void loop ()
 

Variables

byte mac [] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02}
 
EthernetUDP Udp
 
Coap coap (Udp)
 

Function Documentation

◆ callback_response()

void callback_response ( CoapPacket & packet,
IPAddress ip,
int port )

◆ dev_ip()

IPAddress dev_ip ( 10 ,
0 ,
0 ,
99  )

◆ loop()

void loop ( )

◆ setup()

void setup ( )

Variable Documentation

◆ coap

Coap coap(Udp) ( Udp )

◆ mac

byte mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02}

◆ Udp

EthernetUDP Udp