statemachine
2017-01-11 13:11:26 0 举报
状态机(State Machine)是一种用于描述对象在其生命周期内所经历的各种状态以及状态之间转换的数学模型。它由一组状态、事件和转移函数组成。状态表示对象的内部条件或行为模式,事件表示触发状态转换的信号,转移函数定义了在特定事件发生时,对象如何从一个状态转移到另一个状态。状态机广泛应用于计算机科学、电子工程、控制系统等领域,用于设计复杂的逻辑系统和控制流程。通过使用状态机,可以有效地简化复杂系统的设计和实现,提高系统的可维护性和可扩展性。
作者其他创作
大纲/内容
support wake up by page scan?
LE scan enabled?
No
host sleep indicate command
Yes
disable PS for power saving if PS is enabled
host add address to whitelist
enable LE scan with parameter set by Vendor command
disable LE scan and store scan parameters
disable initial scan if enabled.queue connection complete event with error status.
enable PS with default parameter if PS is disabled
Controller
wait for wakeup source
controller store address to whitelist
disable inquiry scan if enabled.
0 条评论
下一页