Hi! 各位大大
最近反复看Beacon相关的资料,想问一下,像把发送Beacon时间 的值改大 ,是修改 BEACON_ORDER_NO_BEACONS 15这个值吗?
VV:
是的
// Beacon Order Values#define BEACON_ORDER_NO_BEACONS 15#define BEACON_ORDER_4_MINUTES 14 // 245760 milliseconds#define BEACON_ORDER_2_MINUTES 13 // 122880 milliseconds#define BEACON_ORDER_1_MINUTE 12 // 61440 milliseconds#define BEACON_ORDER_31_SECONDS 11 // 30720 milliseconds#define BEACON_ORDER_15_SECONDS 10 // 15360 MSecs#define BEACON_ORDER_7_5_SECONDS 9 // 7680 MSecs#define BEACON_ORDER_4_SECONDS 8 // 3840 MSecs#define BEACON_ORDER_2_SECONDS 7 // 1920 MSecs#define BEACON_ORDER_1_SECOND 6 // 960 MSecs#define BEACON_ORDER_480_MSEC 5#define BEACON_ORDER_240_MSEC 4#define BEACON_ORDER_120_MSEC 3#define BEACON_ORDER_60_MSEC 2#define BEACON_ORDER_30_MSEC 1#define BEACON_ORDER_15_MSEC 0