| | |
| | | #define DEV_ID 0x2 //璁惧鐨処d |
| | | #define COM_INTERVAL 0x3 //閫氳闂撮殧 |
| | | #define MAX_REPORT_ANC_NUM 0x4 //鍗曟閫氳鍩虹珯涓婇檺 |
| | | #define MIN_REPORT_ANC_NUM 0x5 //鍗曟閫氳鍩虹珯涓嬮檺 |
| | | #define GROUP_ID 0x5 //鍗曟閫氳鍩虹珯涓嬮檺 |
| | | #define DIST_OFFSET 0x6 |
| | | #define DEV_ROLE 0x7 //璇ヨ澶囨槸anchor杩樻槸tag |
| | | #define ANC_POLL 0x8 //鍩虹珯涓诲姩娴嬭窛 |
| | |
| | | #define ALARM_DISTANCE3 0xC //灏忎簬澶氬皯璺濈鎶ヨ |
| | | #define PAIR_ID 0xD //灏忎簬澶氬皯璺濈鎶ヨ |
| | | #define HEARTBEAT 0xE |
| | | #define MODBUS_MODE 0xF |
| | | |
| | | #define NEARBASE_NUM 0x10 |
| | | #define NEARBASE_ID1 0x11 |
| | | #define NEARBASE_ID2 0x12 |
| | | #define NEARBASE_ID3 0x13 |
| | | #define NEARBASE_ID4 0x14 |
| | | #define NEARBASE_ID5 0x15 |
| | | #define NEARBASE_ID6 0x16 |
| | | #define NEARBASE_ID7 0x17 |
| | | #define NEARBASE_ID8 0x18 |
| | | #define NEARBASE_ID9 0x19 |
| | | #define NEARBASE_ID10 0x1a |
| | | |
| | | #define CNT_RESTART 0x30 |
| | | #define CNT_REBOOT 0x31 |
| | |
| | | |
| | | extern uint32_t save_com_map_to_flash(void); |
| | | extern void parameter_init(void); |
| | | |
| | | extern u8 group_id; |
| | | #endif |
| | | |