#include <stdint.h>
#include <string.h>
#include "ScatterWeb.System.h"
#include "ScatterWeb.CC1020.h"
#include "_dsr.h"
Go to the source code of this file.
Functions | |
void | Net_sendArgsInit_1 (netpacket_send_args_t *args) |
enum netaddr_compareresult | Net_compareAddress_1 (const netaddr_t(*const adr), const bool directConnection) |
Compare network address with this node's address. | |
bool | Route_discovery (netaddr_t dest) |
function to call the Funktion Net_sendRequest | |
bool | Net_sendDecides (netaddr_t dest, uint8_t counter, uint8_t feld[]) |
function to decides if node is destination than Reply else Request | |
bool | Net_sendRequest (netaddr_t dest) |
function to restart Route Discovery Process | |
bool | handle_Request (netaddr_t dest, uint8_t counter, uint8_t feld[]) |
function to send the Request away | |
bool | Net_sendReply (netaddr_t dest, uint8_t counter, uint8_t feld[]) |
function to send the Reply | |
void | handle_Reply (netaddr_t dest, uint8_t counter, uint8_t feld[]) |
function to send the Reply further | |
bool | Decides_data (netaddr_t dest, uint8_t *data, uint8_t feld[]) |
function to decides | |
bool | Net_sendData () |
function to send the Data | |
bool | handle_Data (netaddr_t dest, uint8_t *data, uint8_t feld[]) |
function to send the Data away | |
bool | Net_sendAck (uint8_t feld[]) |
function to send the Ack |
Definition in file _dsr.c.
bool Decides_data | ( | netaddr_t | dest, | |
uint8_t * | data, | |||
uint8_t | feld[] | |||
) |
bool handle_Data | ( | netaddr_t | dest, | |
uint8_t * | data, | |||
uint8_t | feld[] | |||
) |
void handle_Reply | ( | netaddr_t | dest, | |
uint8_t | counter, | |||
uint8_t | feld[] | |||
) |
function to send the Reply further
////////////////////////////////////////////////////////////////////////////// ///////////////////////////send Reply further///////////////////////////////// //////////////////////////////////////////////////////////////////////////////
bool handle_Request | ( | netaddr_t | dest, | |
uint8_t | counter, | |||
uint8_t | feld[] | |||
) |
function to send the Request away
////////////////////////////////////////////////////////////////////////////// ////////////////////Send Request further////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
enum netaddr_compareresult Net_compareAddress_1 | ( | const netaddr_t * | adr, | |
const bool | directConnection | |||
) |
Compare network address with this node's address.
[in] | adr | Address to compare with config_t:id |
[in] | directConnection | Indicates that the address request comes from a directly connected source (e.g. serial cable) |
bool Net_sendAck | ( | uint8_t | feld[] | ) |
bool Net_sendDecides | ( | netaddr_t | dest, | |
uint8_t | counter, | |||
uint8_t | feld[] | |||
) |
function to decides if node is destination than Reply else Request
////////////////////////////////////////////////////////////////////////////// ///////////To decisions request further send or reply///////////////////////// //////////////////////////////////////////////////////////////////////////////
bool Net_sendReply | ( | netaddr_t | dest, | |
uint8_t | counter, | |||
uint8_t | feld[] | |||
) |
function to send the Reply
////////////////////////////////////////////////////////////////////////////// /////////////////////////send Reply/////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
bool Net_sendRequest | ( | netaddr_t | dest | ) |
function to restart Route Discovery Process
////////////////////////////////////////////////////////////////////////////// /////////////////////Send Request///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
bool Route_discovery | ( | netaddr_t | dest | ) |
function to call the Funktion Net_sendRequest
////////////////////////////////////////////////////////////////////////////// ///////////////////////Route-Discovery//////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////