Skip to content

Add missing Doxygen descriptions for Nanostack #6313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doxyfile_options
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,8 @@ EXCLUDE_PATTERNS = */tools/* \
*/features/FEATURE_COMMON_PAL/* \
*/features/FEATURE_LWIP/* \
*/features/FEATURE_UVISOR/* \
*/features/nanostack/* \
*/features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/* \
*/features/nanostack/FEATURE_NANOSTACK/coap-service/* \
*/ble/generic/* \
*/ble/pal/*

Expand Down
2 changes: 1 addition & 1 deletion doxygen_options.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"PREDEFINED": "DOXYGEN_ONLY DEVICE_ANALOGIN DEVICE_ANALOGOUT DEVICE_CAN DEVICE_ETHERNET DEVICE_EMAC DEVICE_FLASH DEVICE_I2C DEVICE_I2CSLAVE DEVICE_I2C_ASYNCH DEVICE_INTERRUPTIN DEVICE_ITM DEVICE_LOWPOWERTIMER DEVICE_PORTIN DEVICE_PORTINOUT DEVICE_PORTOUT DEVICE_PWMOUT DEVICE_RTC DEVICE_TRNG DEVICE_SERIAL DEVICE_SERIAL_ASYNCH DEVICE_SERIAL_FC DEVICE_SLEEP DEVICE_SPI DEVICE_SPI_ASYNCH DEVICE_SPISLAVE DEVICE_STORAGE \"MBED_DEPRECATED_SINCE(f, g)=\" \"MBED_ENABLE_IF_CALLBACK_COMPATIBLE(F, M)=\" \"MBED_DEPRECATED(s)=\"",
"EXPAND_AS_DEFINED": "",
"SKIP_FUNCTION_MACROS": "NO",
"EXCLUDE_PATTERNS": "*/tools/* */targets/* */features/mbedtls/* */features/storage/* */features/unsupported/* */BUILD/* */rtos/TARGET_CORTEX/rtx*/* */cmsis/* */features/FEATURE_COMMON_PAL/* */features/FEATURE_LWIP/* */features/FEATURE_UVISOR/* */features/nanostack/* */ble/generic/* */ble/pal/*"
"EXCLUDE_PATTERNS": "*/tools/* */targets/* */features/mbedtls/* */features/storage/* */features/unsupported/* */BUILD/* */rtos/TARGET_CORTEX/rtx*/* */cmsis/* */features/FEATURE_COMMON_PAL/* */features/FEATURE_LWIP/* */features/FEATURE_UVISOR/* */features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/* */features/nanostack/FEATURE_NANOSTACK/coap-service/* */ble/generic/* */ble/pal/*"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "MeshInterfaceNanostack.h"

/** 6LoWPAN-ND mesh network interface class
*
* Configure Nanostack to use 6LoWPAN-ND protocol.
*/
class LoWPANNDInterface : public MeshInterfaceNanostack {
public:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#include "NanostackRfPhy.h"
#include "mesh_interface_types.h"

/** Nanostack's network interface class.
*
* Common class that is shared between mesh interface classes
*/
class MeshInterfaceNanostack : public MeshInterface {
public:

Expand Down Expand Up @@ -63,7 +67,7 @@ class MeshInterfaceNanostack : public MeshInterface {

/**
* \brief Callback from C-layer
* \param state state of the network
* \param status state of the network
* */
void mesh_network_handler(mesh_connection_status_t status);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include "MeshInterfaceNanostack.h"
#include "NanostackEthernetPhy.h"

/** Ethernet interface for Nanostack.
*
* Configure Nanostack to use Ethernet connectivity.
*/
class NanostackEthernetInterface : public MeshInterfaceNanostack {
public:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "MeshInterfaceNanostack.h"

/** Thread mesh network interface class
*
* Configure Nanostack to use Thread protocol.
*/
class ThreadInterface : public MeshInterfaceNanostack {
public:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef enum {
MESH_TYPE_THREAD
} mesh_network_type_t;

/*
/**
* Error status values returned by Mesh network API.
*/
typedef enum {
Expand All @@ -40,7 +40,7 @@ typedef enum {
MESH_ERROR_PARAM, /*<! Illegal parameter */
} mesh_error_t;

/*
/**
* Mesh network connection status codes returned in callback.
*/
typedef enum {
Expand All @@ -53,7 +53,7 @@ typedef enum {
MESH_BOOTSTRAP_STARTED /*<! bootstrap started */
} mesh_connection_status_t;

/*
/**
* Mesh device types
*/
typedef enum {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "NanostackPhy.h"

/** Ethernet PHY driver class for Nanostack */
class NanostackEthernetPhy : public NanostackPhy {
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

struct ns_address;

/** Network interface class for Nanostack */
class NanostackInterface : public NetworkStack {
public:
static NanostackInterface *get_stack();
Expand Down Expand Up @@ -179,7 +180,7 @@ class NanostackInterface : public NetworkStack {
*
* @param handle Socket handle
* @param address Destination for the source address or NULL
* @param data Destination buffer for data received from the host
* @param buffer Destination buffer for data received from the host
* @param size Size of the buffer in bytes
* @return Number of received bytes on success, negative error
* code on failure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef NANOSTACK_PHY_H_
#define NANOSTACK_PHY_H_

/** PHY driver class for Nanostack */
class NanostackPhy {
public:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "NanostackPhy.h"

/** Radio PHY driver class for Nanostack */
class NanostackRfPhy : public NanostackPhy {
public:

Expand Down