observe fixes
Dependencies: nanoservice_client_1_12_X Nanostack_lib
Fork of mbedEndpointNetwork_6LowPAN by
network_stubs.h
00001 /** 00002 * @file network_stubs.h 00003 * @brief mbed Endpoint Network Stubs header (6LowPAN) 00004 * @author Doug Anson 00005 * @version 1.0 00006 * @see 00007 * 00008 * Copyright (c) 2014 00009 * 00010 * Licensed under the Apache License, Version 2.0 (the "License"); 00011 * you may not use this file except in compliance with the License. 00012 * You may obtain a copy of the License at 00013 * 00014 * http://www.apache.org/licenses/LICENSE-2.0 00015 * 00016 * Unless required by applicable law or agreed to in writing, software 00017 * distributed under the License is distributed on an "AS IS" BASIS, 00018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00019 * See the License for the specific language governing permissions and 00020 * limitations under the License. 00021 */ 00022 00023 #ifndef __MESH_STUBS_H__ 00024 #define __MESH_STUBS_H__ 00025 00026 // mbed support 00027 #include "mbed.h" 00028 00029 // we have to redefine DBG as its used differently here... 00030 #ifdef DBG 00031 #undef DBG 00032 #endif 00033 #define DBG printf 00034 00035 // Nanostack_6LowPAN support... 00036 #include "configuration.h" 00037 #include "debug.h" 00038 #include "ns_6lowpan_support.h" 00039 #include "nsdl_support.h" 00040 00041 // tasklet function typedef 00042 typedef void (*mbed_tasklet_main_fn)(void); 00043 00044 // ties into Nanostack_6LowPAN network support 00045 extern "C" void event_dispatch(void); 00046 extern void init_network(bool canActAsRouterNode); 00047 00048 #endif // __MESH_STUBS_H__
Generated on Fri Jul 15 2022 08:02:55 by 1.7.2