⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmd.c

📁 蓝牙耳机软件源代码
💻 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 + -