马上注册,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册 
×
这些参数的配置宏的Kconfig文件位于nrf\subsys\dult\Kconfig config DULT_MOTION_DETECTOR_SEPARATED_UT_SAMPLING_RATE1 int default 10000 help Sampling rate in milliseconds when motion detector is enabled in separated state.config DULT_MOTION_DETECTOR_SEPARATED_UT_SAMPLING_RATE2 int default 500 help Motion detector sampling rate in milliseconds when movement is detected in separated state.config DULT_MOTION_DETECTOR_SEPARATED_UT_BACKOFF_PERIOD int "Period in minutes to disable motion detector if accessory is in separated state" if DULT_MOTION_DETECTOR_TEST_MODE default 2 if DULT_MOTION_DETECTOR_TEST_MODE default 360config DULT_MOTION_DETECTOR_SEPARATED_UT_TIMEOUT_PERIOD_MIN int "Minimum time span in minutes in separated state before enabling motion detector" if DULT_MOTION_DETECTOR_TEST_MODE default 3 if DULT_MOTION_DETECTOR_TEST_MODE default 480config DULT_MOTION_DETECTOR_SEPARATED_UT_TIMEOUT_PERIOD_MAX int "Maximum time span in minutes in separated state before enabling motion detector" if DULT_MOTION_DETECTOR_TEST_MODE default DULT_MOTION_DETECTOR_SEPARATED_UT_TIMEOUT_PERIOD_MIN if DULT_MOTION_DETECTOR_TEST_MODE default 1440motion detector模块对应的代码位于nrf\subsys\dult\motion_detector.c 总结Nordic平台提供的代码实现了FMDN和DULT协议所必要的功能。另外,我们的Bluetooth LE协议栈稳定可靠,资源丰富,使用简单。如果客户还需要添加一些别的Bluetooth LE功能,得益于Nordic平台Bluetooth LE服务的模块化设计,用户自己能很方便的添加自己的或标准的Bluetooth LE服务模块。此外,我们在多链接和多广播集方面也表现优秀,很适合复杂Bluetooth LE设备的开发。
|