| | |
| | | |
| | | #include "stm32f10x.h" |
| | | |
| | | #define COM_MAP_SIZE 1024 //MAP表çæå¤§ç©ºé´ |
| | | #define COM_MAP_SIZE 512 //MAP表çæå¤§ç©ºé´ |
| | | #define DEFAULT_DISTANCE 1000 //åå§æµè·è·ç¦»ä¸º10ç±³ |
| | | #define DEFAULT_DEV_ID 5555 //é»è®¤è®¾å¤IDæ¯5555 |
| | | |
| | |
| | | #define PAIR_ID 0xD //å°äºå¤å°è·ç¦»æ¥è¦ |
| | | #define HEARTBEAT 0xE |
| | | |
| | | #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 |
| | | #define CNT_UPDATE 0x32 |
| | | |
| | | |
| | | #define ANC_FLAG 0x100 |
| | | |
| | | /*------------END Map Definition-------------------*/ |
| | | |
| | | |