关于BLE API的缩写建议(int、char等缩写太迷惑了)

Apocal
Posts: 4
Joined: Sat Jan 28, 2023 3:28 pm

关于BLE API的缩写建议(int、char等缩写太迷惑了)

Postby Apocal » Sat Jan 28, 2023 3:30 pm

ESP-IDF里BLE的API好多用缩写
int代表interval
char代表characteristic
诸如此类
建议不要用这种迷惑性缩写,作为C语言开发者,看到int肯定第一反应是integer,看到char第一反应肯定是character

Who is online

Users browsing this forum: Bing [Bot] and 34 guests