|
@@ -194,7 +194,7 @@ static portBASE_TYPE prvTaskAKBCommand(cli_state_t *cli_state, int8_t *pcWriteBu
|
|
static portBASE_TYPE prvTaskAlarmCommand(cli_state_t *cli_state, int8_t *pcWriteBuffer, size_t xWriteBufferLen,
|
|
static portBASE_TYPE prvTaskAlarmCommand(cli_state_t *cli_state, int8_t *pcWriteBuffer, size_t xWriteBufferLen,
|
|
const int8_t *pcCommandString );
|
|
const int8_t *pcCommandString );
|
|
|
|
|
|
-#ifdef HARDWARE_BT6709
|
|
|
|
|
|
+#ifdef NOTIFICATION_CONTROL_ENABLE
|
|
/*
|
|
/*
|
|
* Implements the notification command.
|
|
* Implements the notification command.
|
|
*/
|
|
*/
|
|
@@ -357,7 +357,7 @@ static const CLI_Command_Definition_t prvAlarmCommandDefinition = {
|
|
-1 /* The user can enter any number of commands. */
|
|
-1 /* The user can enter any number of commands. */
|
|
};
|
|
};
|
|
|
|
|
|
-#ifdef HARDWARE_BT6709
|
|
|
|
|
|
+#ifdef NOTIFICATION_CONTROL_ENABLE
|
|
/* Structure that defines the "notification" command line command. This
|
|
/* Structure that defines the "notification" command line command. This
|
|
generates a table that shows how much run time each task has */
|
|
generates a table that shows how much run time each task has */
|
|
static const CLI_Command_Definition_t prvNotificationCommandDefinition = {
|
|
static const CLI_Command_Definition_t prvNotificationCommandDefinition = {
|
|
@@ -489,8 +489,10 @@ void vRegisterCLICommands( void )
|
|
FreeRTOS_CLIRegisterCommand( &prvSNMPCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvSNMPCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvAKBCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvAKBCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvAlarmCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvAlarmCommandDefinition );
|
|
-#ifdef HARDWARE_BT6709
|
|
|
|
|
|
+#ifdef NOTIFICATION_CONTROL_ENABLE
|
|
FreeRTOS_CLIRegisterCommand( &prvNotificationCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvNotificationCommandDefinition );
|
|
|
|
+#endif
|
|
|
|
+#ifdef WHITELIST_ENABLE
|
|
FreeRTOS_CLIRegisterCommand( &prvWhiteListCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvWhiteListCommandDefinition );
|
|
#endif
|
|
#endif
|
|
FreeRTOS_CLIRegisterCommand( &prvUserCommandDefinition );
|
|
FreeRTOS_CLIRegisterCommand( &prvUserCommandDefinition );
|
|
@@ -1764,7 +1766,7 @@ static portBASE_TYPE prvTaskAlarmCommand(cli_state_t *cli_state, int8_t *pcWrite
|
|
return xReturn;
|
|
return xReturn;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef HARDWARE_BT6709
|
|
|
|
|
|
+#ifdef NOTIFICATION_CONTROL_ENABLE
|
|
/*
|
|
/*
|
|
* Implements the notification command.
|
|
* Implements the notification command.
|
|
*/
|
|
*/
|
|
@@ -1876,7 +1878,9 @@ static portBASE_TYPE prvTaskNotificationCommand(cli_state_t *cli_state, int8_t *
|
|
xReturn = pdFALSE;
|
|
xReturn = pdFALSE;
|
|
return xReturn;
|
|
return xReturn;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
+#ifdef WHITELIST_ENABLE
|
|
/*
|
|
/*
|
|
* Implements the whitelist command.
|
|
* Implements the whitelist command.
|
|
*/
|
|
*/
|