This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

simpleGATTprofile.h 的一些问题



读写特征值的时候,在simpleGATTprofile.h中会定义

// Profile Parameters
#define SIMPLEPROFILE_CHAR1 0 // RW uint8 - Profile Characteristic 1 value
#define SIMPLEPROFILE_CHAR2 1 // RW uint8 - Profile Characteristic 2 value
#define SIMPLEPROFILE_CHAR3 2 // RW uint8 - Profile Characteristic 3 value
#define SIMPLEPROFILE_CHAR4 3 // RW uint8 - Profile Characteristic 4 value
#define SIMPLEPROFILE_CHAR5 4 // RW uint8 - Profile Characteristic 4 value

#define SIMPLEPROFILE_CHAR6 5 // RW uint8 - Profile Characteristic 5 value

SIMPLEPROFILE_CHAR6  为什么会=5?...是写多少都可以吗?