?? cmd.c
字號:
#include "demohs.h"
#include <stdlib.h>
#include <print.h>
/*
This function is called if we ever receive an AT command from the
Audio Gateway that we don't recognise. At the moment this is just
a stub that prints the command and frees the memory.
*/
void cmdInd(const HS_CMD_IND_T * ind)
{
uint16_t c ;
PRINT(("unrecognised cmd\n"));
for (c = 0 ; c < ind->length ; c ++)
PRINT(("%x",ind->data[c]));
PRINT(("\n"));
for (c = 0 ; c < ind->length ; c ++)
PRINT(("%c",ind->data[c]));
PRINT(("\n"));
free(ind->data) ;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -