nsp resources for the mbed nsp lighting endpoint

Dependencies:   nsdl_lib

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

wattage.h

Committer:
ansond
Date:
2014-09-26
Revision:
3:30c96bd77160
Parent:
0:b26c3526ee89

File content as of revision 3:30c96bd77160:

// Wattage resource implementation

#ifndef WATTAGE_H
#define WATTAGE_H

#include "nsp_get.h"

// initialize MBED Wattage Emulator
void init_wattage(Resource *resource);

// MBED supports Wattage Emulation 
extern uint8_t wattage_cb(sn_coap_hdr_s *received_coap_ptr, sn_nsdl_addr_s *address, sn_proto_info_s *proto);

#endif