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.
Fork of XBeeLib by
Diff: Frames/AtCmdFrame.h
- Revision:
- 4:629712865107
- Parent:
- 0:fcaad0dfa051
--- a/Frames/AtCmdFrame.h Mon May 18 13:16:55 2015 +0200 +++ b/Frames/AtCmdFrame.h Mon Jun 01 18:59:43 2015 +0200 @@ -39,12 +39,12 @@ #define MAX_NI_PARAM_LEN 20 /** Class for the AT command api frames. Derived from ApiFrame */ -class AtCmdFrame : public ApiFrame +class AtCmdFrame : public ApiFrame { public: /** - * AtCmdResp + * AtCmdResp */ enum AtCmdResp { AtCmdRespOk = 0, /**< Ok */ @@ -58,7 +58,7 @@ }; /** - * ModemStatus + * ModemStatus */ enum ModemStatus { HwReset = 0, /**< Hardware reset */ @@ -82,82 +82,82 @@ * @param param_len length of the command param */ AtCmdFrame(const char * const cmd, const uint32_t cmd_param); - - /** Class constructor + + /** Class constructor * - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param pointer to command parameter * @param param_len length of the command param */ AtCmdFrame(const char * const cmd, const uint8_t * cmd_param = NULL, uint16_t param_len = 0); - /** Class constructor + /** Class constructor * * @param remote 64 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param command parameter */ AtCmdFrame(uint64_t remote, const char * const cmd, uint32_t cmd_param); - - /** Class constructor + + /** Class constructor * * @param remote 64 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param pointer to command parameter * @param param_len length of the command param */ AtCmdFrame(uint64_t remote, const char * const cmd, const uint8_t * cmd_param = NULL, uint16_t param_len = 0); - /** Class constructor + /** Class constructor * * @param remote 16 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param command parameter */ AtCmdFrame(uint16_t remote, const char * const cmd, uint32_t cmd_param); - - /** Class constructor + + /** Class constructor * * @param remote 16 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param pointer to command parameter * @param param_len length of the command param */ AtCmdFrame(uint16_t remote, const char * const cmd, const uint8_t * cmd_param = NULL, uint16_t param_len = 0); - /** Class constructor + /** Class constructor * * @param remote 64 bit address of the remote device where we want to run the command * @param remote 16 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param command parameter */ AtCmdFrame(uint64_t remote64, uint16_t remote16, const char * const cmd, uint32_t cmd_param); - - /** Class constructor + + /** Class constructor * * @param remote 64 bit address of the remote device where we want to run the command * @param remote 16 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_param pointer to command parameter * @param param_len length of the command param */ AtCmdFrame(uint64_t remote64, uint16_t remote16, const char * const cmd, const uint8_t * cmd_param = NULL, uint16_t param_len = 0); protected: - /** build_at_cmd_frame method used by the constructors to create the at command frame + /** build_at_cmd_frame method used by the constructors to create the at command frame * - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_params pointer to command parameter * @param param_len length of the command param */ void build_at_cmd_frame(const char *cmd, const uint8_t *cmd_params, uint8_t payload_len, bool reverse = true); - /** build_at_cmd_remote_frame method used by the constructors to create the at command frame + /** build_at_cmd_remote_frame method used by the constructors to create the at command frame * * @param remote64 64 bit address of the remote device where we want to run the command * @param remote16 16 bit address of the remote device where we want to run the command - * @param cmd at command of the frame + * @param cmd at command of the frame * @param cmd_params pointer to command parameter * @param param_len length of the command param */