Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
whiteboard_api.h
00001 /* 00002 * Copyright (c) 2014-2015 ARM Limited. All rights reserved. 00003 * 00004 * SPDX-License-Identifier: LicenseRef-PBL 00005 * 00006 * Licensed under the Permissive Binary License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * https://www.mbed.com/licenses/PBL-1.0 00010 * 00011 * See the License for the specific language governing permissions and limitations under the License. 00012 * 00013 */ 00014 00015 #ifndef WHITEBOARD_API_H_ 00016 #define WHITEBOARD_API_H_ 00017 00018 #include "net_interface.h" 00019 00020 /** 00021 * \file whiteboard_api.h 00022 * \brief An API for DAD, intercepting messages from backhaul network and keeping track of routes inside the PAN. 00023 */ 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 /** 00030 * \struct whiteboard_entry_t 00031 * \brief A structure describing a whiteboarding entry. 00032 */ 00033 typedef struct whiteboard_entry_t { 00034 uint8_t address[16]; /**< Registered IP address. */ 00035 uint_least24_t ttl; /**< Whiteboard entry TTL (seconds). */ 00036 uint8_t eui64[8]; /**< EUI-64 of node that IP address is registered to. */ 00037 int8_t interface_index; /**< Interface id */ 00038 } whiteboard_entry_t; 00039 00040 /** 00041 * \brief Read whiteboard entries 00042 * \param cur NULL to read first entry, or get next entry after cur. 00043 * \return A pointer to whiteboard_entry_t structure. 00044 */ 00045 extern whiteboard_entry_t *whiteboard_get(whiteboard_entry_t *cur); 00046 #ifdef __cplusplus 00047 } 00048 #endif 00049 #endif /* WHITEBOARD_API_H_ */
Generated on Tue Jul 12 2022 12:28:59 by
