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 NNN40_CLI by
Diff: CLI_Source/command-interpreter.h
- Revision:
- 3:38ec8ad317f4
- Parent:
- 0:5c195ab2f696
- Child:
- 4:b52035367aee
--- a/CLI_Source/command-interpreter.h Fri Sep 11 07:52:06 2015 +0000 +++ b/CLI_Source/command-interpreter.h Fri Oct 02 10:36:29 2015 +0000 @@ -10,6 +10,8 @@ #include <stdbool.h> #include <stdint.h> +#include "mbed.h" +//#inlcude "nordic/boards.h" #define DELTA_BLE_ON 1 #define DELTA_WIFI_ON 1 @@ -67,6 +69,7 @@ uint8_t cyntecArgToUint8(uint8_t *str, uint8_t len); uint16_t cyntecAtoiUint16(uint8_t *str, uint8_t len); uint16_t cyntecArgToUint16(uint8_t *str, uint8_t len); +uint32_t cyntecHexToUint32(uint8_t *str, uint8_t len); uint8_t cyntecStrCmp(uint8_t *src, uint8_t *dst, uint8_t len); /** @@ -86,11 +89,13 @@ /** Retrieves the token count. */ uint8_t cyntecGetCommandTokenCnt(void); -//gill +//gill add for accept blank in name 20150904 //uint8_t *cyntecGetCommandBuffer(void); uint8_t *cyntecGetCommandTotalBuffer(void); void cyntecWriteToTotalBuffer(uint8_t input); uint8_t cyntecGetTotalIndex(void); + + #ifdef __cplusplus } #endif
