ADC까지, 신호 확인 필요(반사 신호 약함 or 뒤쪽을 찍고 있음)
This commit is contained in:
+9
-5
@@ -15,9 +15,9 @@
|
||||
/*==============================================================================
|
||||
* Firmware identification
|
||||
*============================================================================*/
|
||||
#define FIRMWARE_VERSION "VBTFW0102"
|
||||
#define FIRMWARE_VERSION "TSTFW042"
|
||||
#define HARDWARE_VERSION "VB0HW0000"
|
||||
#define SERIAL_NUMBER "VB026030000"
|
||||
#define SERIAL_NUMBER "VB0260300ZZ" // 앱이 실제로 쓰는 시리얼/광고 이름
|
||||
#define DEFAULT_PASSKEY "123456"
|
||||
|
||||
/*==============================================================================
|
||||
@@ -26,6 +26,9 @@
|
||||
#define SERIAL_NO_LENGTH 12
|
||||
#define HW_NO_LENGTH 12
|
||||
#define PASSKEY_LENGTH 6
|
||||
#define SERIAL_NO_BUF_SIZE (SERIAL_NO_LENGTH + 1)
|
||||
#define HW_NO_BUF_SIZE (HW_NO_LENGTH + 1)
|
||||
#define PASSKEY_BUF_SIZE (PASSKEY_LENGTH + 1)
|
||||
|
||||
/*==============================================================================
|
||||
* Enumerations
|
||||
@@ -61,15 +64,16 @@ typedef enum
|
||||
|
||||
void sleep_mode_enter(void);
|
||||
void device_power_off(void);
|
||||
void power_button_suspend(bool suspend);
|
||||
|
||||
/*==============================================================================
|
||||
* Global variables (extern)
|
||||
*============================================================================*/
|
||||
extern volatile bool ble_connection_st;
|
||||
extern volatile bool processing;
|
||||
extern char SERIAL_NO[SERIAL_NO_LENGTH];
|
||||
extern char HW_NO[HW_NO_LENGTH];
|
||||
extern char m_static_passkey[PASSKEY_LENGTH];
|
||||
extern char SERIAL_NO[SERIAL_NO_BUF_SIZE];
|
||||
extern char HW_NO[HW_NO_BUF_SIZE];
|
||||
extern char m_static_passkey[PASSKEY_BUF_SIZE];
|
||||
extern bool bond_data_delete;
|
||||
extern uint32_t m_life_cycle;
|
||||
extern uint8_t m_reset_status;
|
||||
|
||||
Reference in New Issue
Block a user