CLI example for NNN50
Dependencies: NNN50_WIFI_API
Fork of NNN50_WiFi_HelloWorld by
CLI_Source/core_cli.cpp
- Committer:
- silviaChen
- Date:
- 2017-09-14
- Revision:
- 9:871fc0231c7f
File content as of revision 9:871fc0231c7f:
/**
* File: core-cli.c
* Description: Core CLI commands used by all applications regardless of profile.
*
* Copyright 2014 by CYNTEC Corporation. All rights reserved.
*/
#include <stdint.h>
#include <string.h>
#include "command-interpreter.h"
#include "nrf.h"
//#if (DELTA_BLE_ON == 1)
//#include "ble_cli.h"
//#endif
#if (DELTA_WIFI_ON == 1)
#include "wifi_cli.h"
#endif
CyntecCommandEntry cyntecCommandTable[] = {
//#if (DELTA_BLE_ON == 1)
//#if SIMPLE_CMD_NAME
// {"BLE", NULL, (const char*) bleCommandSets, "Command set for BLE module"},
//#else
// {"cynb", NULL, (const char*) bleCommandSets, "Command set for BLE module"},
//#endif
//#endif
#if (DELTA_WIFI_ON == 1)
//#if SIMPLE_CMD_NAME
// {"WIFI", NULL, (const char*) wifiCommandSets, "Command set for WiFi module"},
//#else
{"w", NULL, (const char*) wifiCommandSets, "Command set for WiFi module"},
//#endif
#endif
{NULL, NULL, NULL, NULL},
};
