Lines Matching refs:struct
77 static int my_get(struct coap_resource *resource, struct coap_packet *request,
78 struct sockaddr *addr, socklen_t addr_len)
82 struct coap_packet response;
109 static int my_put(struct coap_resource *resource, struct coap_packet *request,
110 struct sockaddr *addr, socklen_t addr_len)
142 static void notify_observers(struct k_work *work);
145 static int send_temperature(struct coap_resource *resource,
146 const struct sockaddr *addr, socklen_t addr_len,
150 const struct device *dev = DEVICE_DT_GET(DT_ALIAS(ambient_temp0));
152 struct coap_packet response;
154 struct sensor_value value;
190 static int temp_get(struct coap_resource *resource, struct coap_packet *request,
191 struct sockaddr *addr, socklen_t addr_len)
208 static void temp_notify(struct coap_resource *resource, struct coap_observer *observer)
221 static void notify_observers(struct k_work *work)
246 void coap_event_handler(uint32_t mgmt_event, struct net_if *iface,
257 if (info != NULL && info_length == sizeof(struct net_event_coap_service)) {
258 struct net_event_coap_service *net_event = info;
266 if (info != NULL && info_length == sizeof(struct net_event_coap_service)) {
267 struct net_event_coap_service *net_event = info;