CLI example for NNN50
Dependencies: NNN50_WIFI_API
Fork of NNN50_WiFi_HelloWorld by
core_cli.cpp
00001 /** 00002 * File: core-cli.c 00003 * Description: Core CLI commands used by all applications regardless of profile. 00004 * 00005 * Copyright 2014 by CYNTEC Corporation. All rights reserved. 00006 */ 00007 00008 #include <stdint.h> 00009 #include <string.h> 00010 #include "command-interpreter.h" 00011 #include "nrf.h" 00012 00013 //#if (DELTA_BLE_ON == 1) 00014 //#include "ble_cli.h" 00015 //#endif 00016 #if (DELTA_WIFI_ON == 1) 00017 #include "wifi_cli.h" 00018 #endif 00019 00020 00021 CyntecCommandEntry cyntecCommandTable[] = { 00022 //#if (DELTA_BLE_ON == 1) 00023 //#if SIMPLE_CMD_NAME 00024 // {"BLE", NULL, (const char*) bleCommandSets, "Command set for BLE module"}, 00025 //#else 00026 // {"cynb", NULL, (const char*) bleCommandSets, "Command set for BLE module"}, 00027 //#endif 00028 //#endif 00029 00030 #if (DELTA_WIFI_ON == 1) 00031 //#if SIMPLE_CMD_NAME 00032 // {"WIFI", NULL, (const char*) wifiCommandSets, "Command set for WiFi module"}, 00033 //#else 00034 {"w", NULL, (const char*) wifiCommandSets, "Command set for WiFi module"}, 00035 //#endif 00036 #endif 00037 {NULL, NULL, NULL, NULL}, 00038 }; 00039 00040
Generated on Thu Jul 14 2022 01:45:52 by
1.7.2
